Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
KennethVanhoey
CGoGN
Commits
97920ec3
Commit
97920ec3
authored
Dec 17, 2012
by
Sylvain Thery
Browse files
resolve save/cancel problem in viewer
parent
e9902ae7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Apps/Examples/viewer.cpp
View file @
97920ec3
...
@@ -188,7 +188,8 @@ void Viewer::cb_Save()
...
@@ -188,7 +188,8 @@ void Viewer::cb_Save()
std
::
string
filters
(
"all (*.*);; map (*.map);; off (*.off);; ply (*.ply)"
)
;
std
::
string
filters
(
"all (*.*);; map (*.map);; off (*.off);; ply (*.ply)"
)
;
std
::
string
filename
=
selectFileSave
(
"Save Mesh"
,
""
,
filters
)
;
std
::
string
filename
=
selectFileSave
(
"Save Mesh"
,
""
,
filters
)
;
exportMesh
(
filename
)
;
if
(
!
filename
.
empty
())
exportMesh
(
filename
)
;
}
}
void
Viewer
::
cb_keyPress
(
int
keycode
)
void
Viewer
::
cb_keyPress
(
int
keycode
)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment