diff --git a/js/lattice/Lattice.js b/js/lattice/Lattice.js index 9af3dac24ab3c2cc876a58c99b6e4b17735c479e..39c5a97dcadb96e5012648d055b344e156000d6a 100644 --- a/js/lattice/Lattice.js +++ b/js/lattice/Lattice.js @@ -114,6 +114,8 @@ define(['underscore', 'backbone', 'appState', 'globals', 'plist', 'three', 'thre _parseSparseCell: function(){ + this.cells = [[[null]]]; + console.log("parse cells"); if (this.get("numCells") == 0) { @@ -141,6 +143,7 @@ define(['underscore', 'backbone', 'appState', 'globals', 'plist', 'three', 'thre var min = this.get("cellsMin").sub(bounds.min); var overlap = false; var forCAM = appState.get("currentNav") == "navAssemble"; + console.log(forCAM); this._loopCells(this.sparseCells, function(cell){ if (!cell) return; overlap |= cell.addToDenseArray(cells, min, forCAM);