diff --git a/js/lattice/Lattice.js b/js/lattice/Lattice.js index 39c5a97dcadb96e5012648d055b344e156000d6a..a01b559e2a99786c8c485f2a0bfd27f0674bee8b 100644 --- a/js/lattice/Lattice.js +++ b/js/lattice/Lattice.js @@ -185,8 +185,7 @@ define(['underscore', 'backbone', 'appState', 'globals', 'plist', 'three', 'thre _navChanged: function(){ var currentNav = appState.get("currentNav"); if (currentNav != "navComposite" && this.compositeEditor && this.exitCompositeEditing) this.exitCompositeEditing(); - if ((currentNav == "electronicNavSim" || currentNav == "mechanicalNavSim" || currentNav == "navAssemble") - && appState.previous("currentNav") == "navDesign") this._parseSparseCell(); + if (currentNav == "electronicNavSim" || currentNav == "mechanicalNavSim" || currentNav == "navAssemble") this._parseSparseCell(); }, getCompositeData: function(){