We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f504d4 commit f583153Copy full SHA for f583153
cocos2d/particle/CCParticleSystem.js
@@ -2035,8 +2035,7 @@ cc.ParticleSystem = cc.Node.extend(/** @lends cc.ParticleSystem# */{
2035
2036
// update texture before updating texture rect
2037
var texture = spriteFrame.getTexture(), locTexture = this._texture;
2038
- if (locTexture !== texture)
2039
- this.setTextureWithRect(texture, spriteFrame.getRect());
+ this.setTextureWithRect(texture, spriteFrame.getRect());
2040
},
2041
2042
/**
0 commit comments