Skip to content

Commit 0552c8b

Browse files
committed
Fix transform synchronize issue (parent don't transform child)
1 parent 94904ab commit 0552c8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cocos2d/core/base-nodes/CCNodeCanvasRenderCmd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ cc.Node.RenderCmd.prototype = {
358358

359359
if (cc._renderType === cc.game.RENDER_TYPE_WEBGL || locFlag & flags.transformDirty)
360360
//update the transform
361-
this.transform(parentCmd);
361+
this.transform(parentCmd, true);
362362
},
363363

364364
visitChildren: function(){

0 commit comments

Comments
 (0)