Merge pull request #514 from adroitwhiz/simplify-reskin

Remove setConvexHullDirty and setTransformDirty calls from _reskin
This commit is contained in:
DD Liu
2019-11-06 11:36:38 -05:00
committed by GitHub

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