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

Revert sceneGraph reset block.

Ok, this is an hack because the reset scenegraph function is used to traverse the sg and recalculate near and far plane and reset projection to show the whole Scene.

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 608c1816
......@@ -239,8 +239,8 @@ void glViewer::swapBuffers() {
void glViewer::sceneGraph(ACG::SceneGraph::BaseNode* _root)
if (sceneGraphRoot_ == _root)
// if (sceneGraphRoot_ == _root)
// return;
sceneGraphRoot_ = _root;
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