mirror of
https://github.com/scratchfoundation/scratch-render.git
synced 2025-08-13 06:49:51 -04:00
Merge pull request #514 from adroitwhiz/simplify-reskin
Remove setConvexHullDirty and setTransformDirty calls from _reskin
This commit is contained in:
commit
c6b5824694
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