Commit 5388307c authored by Jan Möbius's avatar Jan Möbius

Some documentation at traversal points to make clear why we use single pass...

Some documentation at traversal points to make clear why we use single pass traversal at these points

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@7634 383ad7c9-94d9-4d36-a494-682f7c89f535
parent e11dfd6b
......@@ -626,7 +626,8 @@ void CoreWidget::slotUpdateViewerDrawMenu() {
connect(viewerDrawMenu_,SIGNAL(aboutToShow () ) , this, SLOT(slotUpdateGlobalDrawMenu() ) );
}
// Collect available draw Modes
// Collect available draw modes
// Single pass action, draw modes independent from multipass rendering
ACG::SceneGraph::CollectDrawModesAction actionAvailable;
ACG::SceneGraph::traverse( PluginFunctions::getRootNode() , actionAvailable);
availableGlobalDrawModes_ = actionAvailable.drawModes();
......
......@@ -647,6 +647,7 @@ void CoreWidget::slotUpdateGlobalDrawMenu() {
}
// Collect available draw Modes
// Single pass action, draw modes independent from multipass rendering
ACG::SceneGraph::CollectDrawModesAction actionAvailable;
ACG::SceneGraph::traverse( PluginFunctions::getRootNode() , actionAvailable);
availableGlobalDrawModes_ = actionAvailable.drawModes();
......
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