mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-26 09:20:51 +01:00
Reset hitmap on avatar redraw
This commit is contained in:
parent
17889a94ec
commit
43031bbf4c
@ -400,6 +400,9 @@ export class AvatarImage implements IAvatarImage, IAvatarEffectListener
|
|||||||
renderTexture: this._reusableTexture,
|
renderTexture: this._reusableTexture,
|
||||||
clear: true
|
clear: true
|
||||||
});
|
});
|
||||||
|
|
||||||
|
//@ts-ignore
|
||||||
|
this._reusableTexture.baseTexture.hitMap = null;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user