Commit 3d4e2109 authored by Amanda Ghassaei's avatar Amanda Ghassaei

dump gik cells on lattice change

parent afda9d67
......@@ -47,6 +47,8 @@ define(['underscore', 'backbone', 'appState', 'globals', 'plist', 'three', 'thre
_reloadCells: function(cells, subclass){
if (this.get("connectionType") == "gik" || this.previous("connectionType") == "gik") this.clearCells();
if (!cells) cells = JSON.parse(JSON.stringify(this.sparseCells));
if (this._setDefaultCellMode) this._setDefaultCellMode();
......
......@@ -110,7 +110,7 @@ define(['three'], function(THREE){
face: {
name: "Face",
subclass: "octaFaceLattice",
types: {
type: {
octaTruss: {
name: "Matt's Truss",
parts: {
......@@ -135,7 +135,7 @@ define(['three'], function(THREE){
edgeRot: {
name: "Edge",
subclass: "octaRotEdgeLattice",
types: {
type: {
snapVoxel: {
name: "Ben's Voxels",
parts: {
......
Markdown is supported
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