From 6364079fa322dbd5632b412b64ed1f80ccde790a Mon Sep 17 00:00:00 2001 From: Amanda Ghassaei <amandaghassaei@gmail.com> Date: Mon, 3 Aug 2015 16:07:36 -0400 Subject: [PATCH] load material defaults --- js/lattice/Lattice.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/lattice/Lattice.js b/js/lattice/Lattice.js index 46286d2a..6b662790 100644 --- a/js/lattice/Lattice.js +++ b/js/lattice/Lattice.js @@ -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 -- GitLab