From c8370eaa9b78d68f4916debe1dcbc4ef1f97d3fc Mon Sep 17 00:00:00 2001 From: Amanda Ghassaei <amandaghassaei@gmail.com> Date: Fri, 23 Oct 2015 10:42:01 -0400 Subject: [PATCH] open assembly working for gik again --- js/lattice/LatticeBase.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/lattice/LatticeBase.js b/js/lattice/LatticeBase.js index 378cdcba..11f27ccd 100644 --- a/js/lattice/LatticeBase.js +++ b/js/lattice/LatticeBase.js @@ -47,7 +47,7 @@ define(['underscore', 'backbone', 'appState', 'globals', 'plist', 'three', 'thre _reloadCells: function(cells, subclass){ - if (this.get("connectionType") == "gik" || this.previous("connectionType") == "gik") this.clearCells(); + if ((this.get("connectionType") == "gik" || this.previous("connectionType") == "gik") && !cells) this.clearCells(); if (!cells) cells = JSON.parse(JSON.stringify(this.sparseCells)); -- GitLab