Commit 3257304b authored by Jan Möbius's avatar Jan Möbius
Browse files

Dont allow access to Scenegraph through glViewer anymore

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 8d61c232
......@@ -302,7 +302,7 @@ bool scenegraph_pick( const unsigned int _examiner, ACG::SceneGraph::PickTarget
//Warning : Dont use template function as external static pointer for examiner widget is not resolved correctly!!
void traverse( ACG::SceneGraph::MouseEventAction &_action ) {
_action,PluginFunctions::examiner_widgets_[activeExaminer_]->glState() );
......@@ -314,7 +314,7 @@ void traverse( const unsigned int _examiner, ACG::SceneGraph::MouseEventAction
ACG::SceneGraph::traverse(PluginFunctions::examiner_widgets_[_examiner]->sceneGraph(), _action,PluginFunctions::examiner_widgets_[_examiner]->glState() );
ACG::SceneGraph::traverse(sceneGraph_root_node_, _action,PluginFunctions::examiner_widgets_[_examiner]->glState() );
......@@ -207,11 +207,6 @@ public:
/// Enable/disable mouse tracking (move events with no button press)
void trackMouse(bool _track);
/// Returns: root node of scene graph
ACG::SceneGraph::BaseNode* sceneGraph() { return sceneGraphRoot_; }
/// same but \c const
const ACG::SceneGraph::BaseNode* sceneGraph() const { return sceneGraphRoot_; }
/** Set scene graph.
Sets the scene graph to the the graph rooted at \c _root.
The available draw modes in the scene graph will be collected
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