Fixed setView to work with new OsgCameraGroup::setView

This commit is contained in:
Robert Osfield
2003-04-06 13:29:02 +00:00
parent 8a3b81f00d
commit e60ddd4916

View File

@@ -526,7 +526,7 @@ int main( int argc, char **argv )
// call all node update callbacks and animations.
viewer.update();
viewer.setView(homePosition.ptr());
viewer.setView(homePosition);
// fire off the cull and draw traversals of the scene.
viewer.frame();