We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8cf0255 + eb14077 commit 2d00a32Copy full SHA for 2d00a32
cocos2d/clipping-nodes/CCClippingNodeCanvasRenderCmd.js
@@ -104,7 +104,7 @@
104
if(!stencil)
105
return;
106
var node = this._node;
107
- if(stencil._renderCmd && stencil._renderCmd._blendFuncStr)
+ if(stencil._renderCmd && stencil._renderCmd._blendFuncStr) //it is a hack way.
108
stencil._renderCmd._blendFuncStr = (node.inverted ? "destination-out" : "destination-in");
109
110
if(!stencil._children)
cocos2d/core/sprites/CCSpriteCanvasRenderCmd.js
@@ -46,11 +46,6 @@
46
47
proto._init = function () {};
48
49
- proto._setBlendFuncStr = function(compositeOperation){
50
- //a hack function for clippingNode
51
- this._blendFuncStr = compositeOperation;
52
- };
53
-
54
proto.setDirtyRecursively = function (value) {};
55
56
proto._resetForBatchNode = function () {};
0 commit comments