diff --git a/cocos2d/core/utils/base-node.js b/cocos2d/core/utils/base-node.js index 7f3ea9b636..c76309a2c1 100644 --- a/cocos2d/core/utils/base-node.js +++ b/cocos2d/core/utils/base-node.js @@ -1148,6 +1148,11 @@ var BaseNode = cc.Class(/** @lends cc.Node# */{ } var thisPrefabInfo = this._prefab; + if (CC_EDITOR && thisPrefabInfo) { + if (this !== thisPrefabInfo.root) { + _Scene.PrefabUtils.initClonedChildOfPrefab(cloned); + } + } var syncing = thisPrefabInfo && this === thisPrefabInfo.root && thisPrefabInfo.sync; if (syncing) { // copy non-serialized property