Skip to content
Snippets Groups Projects
Commit bd93d65e authored by Maxime Graulich's avatar Maxime Graulich
Browse files

mobile: reset openGL view when loading a new model

parent a00ffc80
No related branches found
No related tags found
No related merge requests found
...@@ -82,8 +82,11 @@ void drawContext::load(std::string filename) ...@@ -82,8 +82,11 @@ void drawContext::load(std::string filename)
// open the file with Gmsh // open the file with Gmsh
GmshOpenProject(filename); GmshOpenProject(filename);
// reset openGL view
this->eventHandler(10);
// run getdp witout parameter // run getdp without parameter
onelab_cb("check"); onelab_cb("check");
// to allow the first run // to allow the first run
......
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