Removed the _initVisitor traversal for update() to prevent OpenGL being called at the wrong time.

This commit is contained in:
Robert Osfield
2004-10-26 18:11:26 +00:00
parent dc6dc022cd
commit 6f22082c0b

View File

@@ -163,7 +163,9 @@ void SceneView::init()
void SceneView::update()
{
if (!_initCalled) init();
// comment out since the init traversal by default with do OpenGL calls,
// which you definately don't want to call during update().
// if (!_initCalled) init();
if (_sceneData.valid() && _updateVisitor.valid())