Skip to content
Snippets Groups Projects
Commit 40974c32 authored by Amanda Ghassaei's avatar Amanda Ghassaei
Browse files

warning

parent 8ff5e82d
Branches
Tags
No related merge requests found
...@@ -61,6 +61,7 @@ Lattice = Backbone.Model.extend({ ...@@ -61,6 +61,7 @@ Lattice = Backbone.Model.extend({
var index = this._subtract(position, this.get("cellsMin")); var index = this._subtract(position, this.get("cellsMin"));
if (!cells[index.x][index.y][index.z]) cells[index.x][index.y][index.z] = new DMACell(this.get("cellMode"), position, scale); if (!cells[index.x][index.y][index.z]) cells[index.x][index.y][index.z] = new DMACell(this.get("cellMode"), position, scale);
else console.warn("already a cell there");
this.set("numCells", this.get("numCells")+1); this.set("numCells", this.get("numCells")+1);
window.three.render(); window.three.render();
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment