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

part material type preserved on part type change

parent 3dfd9e00
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,7 @@ GIKSuperCell.prototype._buildWireframe = function(mesh){
};
GIKSuperCell.prototype.getMaterial = function(){
return allGIKMaterials[globals.lattice.get("materialType")];
return allGIKMaterials[this.material];
};
GIKSuperCell.prototype.setMode = function(mode){
......
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