Commit 0e77c51a authored by Jan Möbius's avatar Jan Möbius
Browse files

Fixed error reported by memcheck. Not sure, why memcmp works outside of the initialized memory.

closes #1176

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@15705 383ad7c9-94d9-4d36-a494-682f7c89f535
parent f42ab7ba
......@@ -831,8 +831,7 @@ void CoreWidget::slotUpdateGlobalDrawMenu() {
ACG::SceneGraph::traverse( PluginFunctions::getRootNode() , actionAvailable);
availableGlobalDrawModes_ = actionAvailable.drawModes();
// Get currently active drawModes (first viewer only )
// TODO: create combination from all viewers!
// Get currently active drawModes
activeDrawModes_ = PluginFunctions::drawMode(0);
for ( int i = 1 ; i < PluginFunctions::viewers(); ++i )
activeDrawModes_ &= PluginFunctions::drawMode(i);
......
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