Commit fec36a33 authored by amandaghassaei's avatar amandaghassaei
Browse files

small changes

parent c938e949
......@@ -387,7 +387,10 @@ function initControls(globals){
setCheckbox($("#userInteractionEnabled"), globals.userInteractionEnabled, function(val){
globals.userInteractionEnabled = val;
if (!val) globals.UI3D.hideHighlighters();
if (val) {
globals.rotateModel = null;
globals.threeView.resetModel();
} else globals.UI3D.hideHighlighters();
});
setCheckbox($("#foldUseAngles"), globals.foldUseAngles, function(val){
......
......@@ -18,7 +18,7 @@ function initGlobals(){
mtnsVisible: true,
valleysVisible: true,
panelsVisible: false,
passiveEdgesVisible: true,
passiveEdgesVisible: false,
meshVisible: true,
ambientOcclusion: false,
......
Supports Markdown
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