diff --git a/js/cells/DMACell.js b/js/cells/DMACell.js index ac736405c0b4bdae8078c7feef88b8e77469d489..b77151f266da12551168ca063b1a5463e9ca1745 100644 --- a/js/cells/DMACell.js +++ b/js/cells/DMACell.js @@ -21,7 +21,10 @@ define(['underscore', 'three', 'threeModel', 'lattice', 'appState', 'globals'], if (this.superCell) this.superCell.addChildren(this.object3D);//add as child of supercell if (superCell === undefined) { - if (this.index) three.sceneAdd(this.object3D); + if (this.index) { + three.sceneAdd(this.object3D); + if (!this.cells) three.addCell(this.object3D.children[0]);//add mesh as highlightable object + } else this.hide();//stock cell }