Commit 0266c470 authored by Amanda Ghassaei's avatar Amanda Ghassaei

too many render calls

parent 1bf01322
......@@ -174,7 +174,6 @@ define(['underscore', 'three', 'threeModel', 'lattice', 'appState', 'globals', '
});
}
this.setMaterial(material);
three.render();
};
DMACell.prototype.getParent = function(){
......
......@@ -77,6 +77,7 @@ define(['underscore', 'backbone', 'threeModel', 'appState', 'lattice', 'cell', '
if (state) this.hide();
object.getParent().setDeleteMode(state);
}
three.render();
},
......
......@@ -169,6 +169,7 @@ define(['underscore', 'three'], function(_, THREE){
}
function _render(){
// console.log("render");
renderer.render(scene, camera);
}
......
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