Commit c54ed203 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: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@4672 383ad7c9-94d9-4d36-a494-682f7c89f535
parent fd921d0d
......@@ -239,8 +239,8 @@ void glViewer::swapBuffers() {
void glViewer::sceneGraph(ACG::SceneGraph::BaseNode* _root)
{
if (sceneGraphRoot_ == _root)
return;
// if (sceneGraphRoot_ == _root)
// return;
sceneGraphRoot_ = _root;
......
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