mirror of
https://github.com/scratchfoundation/scratch-render.git
synced 2025-08-28 22:30:04 -04:00
Remove unnecessary "set dirty" calls from _reskin
This commit is contained in:
parent
13b9ed7e16
commit
8dbd71470d
1 changed files with 0 additions and 2 deletions
|
@ -394,8 +394,6 @@ class RenderWebGL extends EventEmitter {
|
|||
for (const drawable of this._allDrawables) {
|
||||
if (drawable && drawable.skin === oldSkin) {
|
||||
drawable.skin = newSkin;
|
||||
drawable.setConvexHullDirty();
|
||||
drawable.setTransformDirty();
|
||||
}
|
||||
}
|
||||
oldSkin.dispose();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue