From 7ff24055c9fefda24c435a52dbab700da9aa2cb4 Mon Sep 17 00:00:00 2001 From: Bill Date: Thu, 15 Dec 2022 13:52:31 -0500 Subject: [PATCH] More updates --- src/avatar/AvatarImage.ts | 2 -- src/avatar/animation/SpriteDataContainer.ts | 1 - src/router/HttpRouter.ts | 4 ++-- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/avatar/AvatarImage.ts b/src/avatar/AvatarImage.ts index e2dec5d..d36cdc2 100644 --- a/src/avatar/AvatarImage.ts +++ b/src/avatar/AvatarImage.ts @@ -306,8 +306,6 @@ export class AvatarImage implements IAvatarImage const set = bodyParts[partCount]; const part = this._cache.getImageContainer(set, this._frameCounter); - console.log(part); - if(part) { const partCacheContainer = part.image; diff --git a/src/avatar/animation/SpriteDataContainer.ts b/src/avatar/animation/SpriteDataContainer.ts index bf7d7ca..039b0fc 100644 --- a/src/avatar/animation/SpriteDataContainer.ts +++ b/src/avatar/animation/SpriteDataContainer.ts @@ -16,7 +16,6 @@ export class SpriteDataContainer implements ISpriteDataContainer constructor(animation: IAnimation, sprite: IAssetAnimationSprite) { - console.log(sprite); this._animation = animation; this._id = sprite.id; this._ink = sprite.ink; diff --git a/src/router/HttpRouter.ts b/src/router/HttpRouter.ts index 82e132a..9e24686 100644 --- a/src/router/HttpRouter.ts +++ b/src/router/HttpRouter.ts @@ -18,7 +18,7 @@ export const HttpRouter = async (request: Request, const avatarString = BuildFigureOptionsStringRequest(buildOptions); const saveFile = new File(`${ directory.path }/${ avatarString }.${ buildOptions.imageFormat }`); - /* if(saveFile.exists()) + if(saveFile.exists()) { const buffer = await FileUtilities.readFileAsBuffer(saveFile.path); @@ -32,7 +32,7 @@ export const HttpRouter = async (request: Request, } return; - } */ + } if(buildOptions.effect > 0) {