Hi Robert,
I'm simply saying that setCameraManipulator should just set the camera 
manipulator into the view and not also set the node implicitly got from the 
scene data: it is not his responisibility. And that's not always a desirable 
behavior since in other part of the code the node should be already set to a 
node different from the root scene data. That means setCameraManipulator 
overrides the node I have already set to the manipulator (and I don't want the 
home position to be computed again too).

In my case I'm switching manipulators and I want that each manipulator 
maintains its node reference and not been reset by the call 
setCameraManipulator. So from my point of view it's up to the programmer to set 
the proper node to a manipulator.

Regards,
Gianni

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=58568#58568





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to