Commit 8a0c1449 by Christophe Geuzaine

toggle autoMesh between 0 and 2 (not 0 and 1)

parent 059a27d7
......@@ -224,7 +224,7 @@ void onelab_option_cb(Fl_Widget *w, void *data)
FlGui::instance()->onelab->setButtonVisibility();
}
else if(what == "mesh")
CTX::instance()->solver.autoMesh = val;
CTX::instance()->solver.autoMesh = val ? 2 : 0;
else if(what == "merge")
CTX::instance()->solver.autoMergeFile = val;
else if(what == "show")
......
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