Commit 97920ec3 authored by Sylvain Thery's avatar Sylvain Thery
Browse files

resolve save/cancel problem in viewer

parent e9902ae7
...@@ -188,6 +188,7 @@ void Viewer::cb_Save() ...@@ -188,6 +188,7 @@ 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) ;
if (!filename.empty())
exportMesh(filename) ; exportMesh(filename) ;
} }
......
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