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

warning

parent 8ff5e82d
No related branches found
No related tags found
No related merge requests found
......@@ -61,6 +61,7 @@ Lattice = Backbone.Model.extend({
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);
else console.warn("already a cell there");
this.set("numCells", this.get("numCells")+1);
window.three.render();
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment