Remove unnecessary "set dirty" calls from _reskin

This commit is contained in:
adroitwhiz 2019-10-12 10:16:40 -04:00
parent 13b9ed7e16
commit 8dbd71470d

View file

@ -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();