diff --git a/cocos2d/core/components/CCMask.js b/cocos2d/core/components/CCMask.js index ac7c90ab6d..63654c63d8 100644 --- a/cocos2d/core/components/CCMask.js +++ b/cocos2d/core/components/CCMask.js @@ -248,6 +248,9 @@ var Mask = cc.Class({ onEnable: function () { this._super(); + if (this.spriteFrame) { + this.spriteFrame.ensureLoadTexture(); + } this.node.on('size-changed', this._refreshStencil, this); this.node.on('anchor-changed', this._refreshStencil, this); },