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

load material defaults

parent aee3860c
Branches
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ define(['underscore', 'backbone', 'appState', 'globals', 'plist', 'three', 'thre
}
var partType = _.keys(plist["allPartTypes"][newCellType][newConnectionType])[0];
this.set("partType", partType, {silent:true});
appState.set("materialClass", plist.allMaterialTypes[newCellType][newConnectionType], {silent:true});
appState.set("materialClass", plist.allMaterialTypes[newCellType][newConnectionType]);
},
_setDefaultCellMode: function(){//if no part associated with this lattice type
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment