fix dragonbones texturedata clear error (#2901)

This commit is contained in:
Knox
2018-06-25 18:10:07 +08:00
committed by pandamicro
parent 8238e0d306
commit 6853a42082
-1
View File
@@ -57,7 +57,6 @@ dragonBones.CCTextureData = cc.Class({
_onClear : function() {
dragonBones.TextureData.prototype._onClear.call(this);
if (this.texture) {
this.texture.dispose();
this.texture = null;
}
}