mirror of
https://github.com/billsonnn/nitro-imager
synced 2024-11-26 17:30:52 +01:00
More updates
This commit is contained in:
parent
a67b9daaaa
commit
7ff24055c9
@ -306,8 +306,6 @@ export class AvatarImage implements IAvatarImage
|
|||||||
const set = bodyParts[partCount];
|
const set = bodyParts[partCount];
|
||||||
const part = this._cache.getImageContainer(set, this._frameCounter);
|
const part = this._cache.getImageContainer(set, this._frameCounter);
|
||||||
|
|
||||||
console.log(part);
|
|
||||||
|
|
||||||
if(part)
|
if(part)
|
||||||
{
|
{
|
||||||
const partCacheContainer = part.image;
|
const partCacheContainer = part.image;
|
||||||
|
@ -16,7 +16,6 @@ export class SpriteDataContainer implements ISpriteDataContainer
|
|||||||
|
|
||||||
constructor(animation: IAnimation, sprite: IAssetAnimationSprite)
|
constructor(animation: IAnimation, sprite: IAssetAnimationSprite)
|
||||||
{
|
{
|
||||||
console.log(sprite);
|
|
||||||
this._animation = animation;
|
this._animation = animation;
|
||||||
this._id = sprite.id;
|
this._id = sprite.id;
|
||||||
this._ink = sprite.ink;
|
this._ink = sprite.ink;
|
||||||
|
@ -18,7 +18,7 @@ export const HttpRouter = async (request: Request<any, any, any, RequestQuery>,
|
|||||||
const avatarString = BuildFigureOptionsStringRequest(buildOptions);
|
const avatarString = BuildFigureOptionsStringRequest(buildOptions);
|
||||||
const saveFile = new File(`${ directory.path }/${ avatarString }.${ buildOptions.imageFormat }`);
|
const saveFile = new File(`${ directory.path }/${ avatarString }.${ buildOptions.imageFormat }`);
|
||||||
|
|
||||||
/* if(saveFile.exists())
|
if(saveFile.exists())
|
||||||
{
|
{
|
||||||
const buffer = await FileUtilities.readFileAsBuffer(saveFile.path);
|
const buffer = await FileUtilities.readFileAsBuffer(saveFile.path);
|
||||||
|
|
||||||
@ -32,7 +32,7 @@ export const HttpRouter = async (request: Request<any, any, any, RequestQuery>,
|
|||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
} */
|
}
|
||||||
|
|
||||||
if(buildOptions.effect > 0)
|
if(buildOptions.effect > 0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user