Commit d2d421f4 authored by Ellen Dekkers's avatar Ellen Dekkers
Browse files

ObjectTypes/MeshObject: setMainGLContext

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@4544 383ad7c9-94d9-4d36-a494-682f7c89f535
parent da36bea3
......@@ -46,6 +46,7 @@
#include <OpenFlipper/common/Types.hh>
#include <ACG/Scenegraph/DrawModes.hh>
#include <OpenFlipper/common/GlobalOptions.hh>
#include <OpenFlipper/BasePlugin/PluginFunctions.hh>
//== TYPEDEFS =================================================================
......@@ -314,6 +315,7 @@
*/
template < class MeshT , DataType objectDataType >
void MeshObject< MeshT , objectDataType >::update() {
PluginFunctions::setMainGLContext();
updateGeometry();
updateTopology();
updateSelection();
......
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