diff --git a/js/cam/assemblers/Component.js b/js/cam/assemblers/Component.js index 9840473ed3b2dcf00b65674e670e67bd2005d35b..85b478bdddc24e5b081e10c803801351ba159711 100644 --- a/js/cam/assemblers/Component.js +++ b/js/cam/assemblers/Component.js @@ -31,10 +31,8 @@ define(['underscore', 'cam', 'three'], function(_, cam, THREE){ console.warn("already added as a child"); return; } - if (child.addParent){//todo stock has no "addParent" or id - this.children.push(child); - child.addParent(this); - } + this.children.push(child); + child.addParent(this); this.object3D.add(child.getObject3D()); };