From b400e4b56f0236a8aca2d352714ccb4ab78a93d5 Mon Sep 17 00:00:00 2001 From: SijieWang Date: Tue, 8 May 2018 11:50:41 +0800 Subject: [PATCH] review code --- cocos2d/core/CCNode.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cocos2d/core/CCNode.js b/cocos2d/core/CCNode.js index 86cf9acc93..8b638b998f 100644 --- a/cocos2d/core/CCNode.js +++ b/cocos2d/core/CCNode.js @@ -2505,13 +2505,13 @@ var Node = cc.Class({ _removeSgNode: SgHelper.removeSgNode, onRestore: CC_EDITOR && function () { - // `active` must synchronize to component + // update dummy sgNode of components for (var i=0; i