Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
bd93d65e
Commit
bd93d65e
authored
10 years ago
by
Maxime Graulich
Browse files
Options
Downloads
Patches
Plain Diff
mobile: reset openGL view when loading a new model
parent
a00ffc80
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
contrib/mobile/drawContext.cpp
+4
-1
4 additions, 1 deletion
contrib/mobile/drawContext.cpp
with
4 additions
and
1 deletion
contrib/mobile/drawContext.cpp
+
4
−
1
View file @
bd93d65e
...
@@ -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 wit
h
out parameter
onelab_cb
(
"check"
);
onelab_cb
(
"check"
);
// to allow the first run
// to allow the first run
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment