Commit 7421db02 authored by Amanda Ghassaei's avatar Amanda Ghassaei
Browse files

cell parsing bug

parent 19d14a39
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment