Commit 779a87b5 authored by Dirk Wilden's avatar Dirk Wilden
Browse files

nogui protection

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5554 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 8342cf5b
......@@ -321,7 +321,8 @@
*/
template < class MeshT , DataType objectDataType >
void MeshObject< MeshT , objectDataType >::update() {
PluginFunctions::setMainGLContext();
if ( OpenFlipper::Options::gui() )
PluginFunctions::setMainGLContext();
updateGeometry();
updateTopology();
updateSelection();
......
Supports Markdown
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