Merge pull request 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
commit c6b5824694
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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