From 0e854f3cc4ada815987ee60ca5f8dc48f60e897a Mon Sep 17 00:00:00 2001 From: SijieWang Date: Mon, 7 May 2018 18:01:58 +0800 Subject: [PATCH] `active` must synchronize to component --- cocos2d/core/CCNode.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/cocos2d/core/CCNode.js b/cocos2d/core/CCNode.js index 366e8b2806..2ef6fb8bca 100644 --- a/cocos2d/core/CCNode.js +++ b/cocos2d/core/CCNode.js @@ -2460,6 +2460,15 @@ var Node = cc.Class({ var self = this; var sgNode = self._sgNode; + // `active` must synchronize to component + for (var i=0; i