Skip to content

Commit b5d66c6

Browse files
committed
Merge pull request cocos2d#2438 from dingpinglv/Iss2436_ClippingNode
Fixed cocos2d#2436: correct a mistake of cc.ClippingNode
2 parents 48499dd + 82c9801 commit b5d66c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cocos2d/clipping-nodes/CCClippingNode.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ cc.ClippingNode = cc.Node.extend(/** @lends cc.ClippingNode# */{
128128
this._stencil = stencil;
129129
this.alphaThreshold = 1;
130130
this.inverted = false;
131+
return true;
131132
},
132133

133134
/**

0 commit comments

Comments
 (0)