From 0301302d987338462f5f7088f7e8ce3c90be2dcf Mon Sep 17 00:00:00 2001
From: Amanda Ghassaei <amandaghassaei@gmail.com>
Date: Sat, 31 Oct 2015 12:56:49 -0400
Subject: [PATCH] eod

---
 js/cells/supercells/DMASuperCell.js | 2 ++
 js/lattice/LatticeBase.js           | 1 +
 2 files changed, 3 insertions(+)

diff --git a/js/cells/supercells/DMASuperCell.js b/js/cells/supercells/DMASuperCell.js
index ec2f4810..3ac82d67 100644
--- a/js/cells/supercells/DMASuperCell.js
+++ b/js/cells/supercells/DMASuperCell.js
@@ -195,10 +195,12 @@ define(['underscore', 'three', 'threeModel', 'lattice', 'appState', 'cell', 'mat
 
     DMASuperCell.prototype._loopCells = function(callback){
         var cells = this.sparseCells;
+        console.log(cells);
         if (!cells || cells === undefined) return;
         for (var x=0;x<cells.length;x++){
             for (var y=0;y<cells[0].length;y++){
                 for (var z=0;z<cells[0][0].length;z++){
+                    console.log(cells[x][y][z]);
                     if (cells[x][y][z]) callback(cells[x][y][z], x, y, z, this);
                 }
             }
diff --git a/js/lattice/LatticeBase.js b/js/lattice/LatticeBase.js
index 934ae3b3..e7b8d274 100644
--- a/js/lattice/LatticeBase.js
+++ b/js/lattice/LatticeBase.js
@@ -154,6 +154,7 @@ define(['underscore', 'backbone', 'appState', 'globals', 'plist', 'three', 'thre
             this.makeCellWithJSON(json, function(cell){
 
                 var flattenedCells = cell.getCells();
+                console.log(flattenedCells);
                 console.log(cell);
                 var bounds = cell.getAbsoluteBounds();
 
-- 
GitLab