diff --git a/js/models/Lattice.js b/js/models/Lattice.js index 5577a15e623fb36f958a90d5a8a9d2d51f7cc9f7..e6da4c79d6b383eb10f27bb050a1549b6c79cc38 100644 --- a/js/models/Lattice.js +++ b/js/models/Lattice.js @@ -326,16 +326,13 @@ Lattice = Backbone.Model.extend({ this.get("basePlane").updateScale(scale); this.get("highlighter").updateScale(scale); - //only update visible cells var cellMode = this.get("cellMode"); this._iterCells(this.get("cells"), function(cell){ if (cell) cell.updateForScale(scale, cellMode); }); - if (this.get("inverseMode")){ - this._iterCells(this.get("inverseCells"), function(cell){ - if (cell) cell.updateForScale(scale, cellMode); - }); - } + this._iterCells(this.get("inverseCells"), function(cell){ + if (cell) cell.updateForScale(scale, cellMode); + }); dmaGlobals.three.render(); },