diff --git a/cocos2d/core/components/CCAnimation.js b/cocos2d/core/components/CCAnimation.js index f5721a8c60..1dabf77190 100644 --- a/cocos2d/core/components/CCAnimation.js +++ b/cocos2d/core/components/CCAnimation.js @@ -106,7 +106,7 @@ var Animation = cc.Class({ set: function (value, force) { this._currentClip = value; - if (CC_EDITOR && force) { + if (CC_EDITOR && force && value) { this._updateClip(value); } },