112113114115116117118119120121122
showMerged = !showMerged; if (showMerged) { origNode.removeFromParent(); scene.attachChild(merged); } else { merged.removeFromParent(); scene.attachChild(origNode); } updateMergedLabel(); } }));