Skip to content

Commit 872a2ea

Browse files
committed
Fix status sync issue during visit
1 parent 4e15dfd commit 872a2ea

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cocos2d/core/base-nodes/CCNodeCanvasRenderCmd.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -465,11 +465,9 @@ cc.Node.RenderCmd.prototype = {
465465
if (colorDirty || opacityDirty)
466466
this._updateColor();
467467

468-
if (locFlag & flags.transformDirty) {
468+
if (locFlag & flags.transformDirty)
469469
//update the transform
470470
this.transform(parentCmd);
471-
this._dirtyFlag = this._dirtyFlag & flags.transformDirty ^ this._dirtyFlag;
472-
}
473471

474472
if (locFlag & flags.orderDirty)
475473
this._dirtyFlag = this._dirtyFlag & flags.orderDirty ^ this._dirtyFlag;

0 commit comments

Comments
 (0)