We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8586470 commit 55b0490Copy full SHA for 55b0490
cocos2d/core/layers/CCLayerCanvasRenderCmd.js
@@ -65,16 +65,15 @@
65
cc.Node.RenderCmd.prototype.updateStatus.call(this);
66
};
67
68
- proto._syncStatus = function () {
+ proto._syncStatus = function (parentCmd) {
69
var flags = cc.Node._dirtyFlags, locFlag = this._dirtyFlag;
70
if (locFlag & flags.orderDirty) {
71
this._cacheDirty = true;
72
if(this._updateCache === 0)
73
this._updateCache = 2;
74
this._dirtyFlag = this._dirtyFlag & flags.orderDirty ^ this._dirtyFlag;
75
}
76
-
77
- cc.Node.RenderCmd.prototype._syncStatus.call(this);
+ cc.Node.RenderCmd.prototype._syncStatus.call(this, parentCmd);
78
79
80
proto.transform = function (parentCmd, recursive) {
0 commit comments