Solve the error logic in dragonBones.CCSlot.

This commit is contained in:
zhangbin
2017-01-11 13:45:38 +08:00
parent a3005b32dc
commit d187fdfef9
+1
View File
@@ -247,6 +247,7 @@ dragonBones.CCSlot = cc.Class({
this._pivotY -= currentTextureData.region.height * scale;
this._rawDisplay.setSpriteFrame(currentTextureData.texture);
this._rawDisplay.setContentSize(currentTextureData.texture.getOriginalSize());
if (texture !== currentTextureData.texture.getTexture()) {
this._rawDisplay.setTexture(texture);
}