Re: [osg-users] View::setCameraManipulator

2014-03-12 Thread Gianni Ambrosio
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

Re: [osg-users] View::setCameraManipulator

2014-03-12 Thread Robert Osfield
HI Gianni, On 12 March 2014 09:07, Gianni Ambrosio ga...@vi-grade.com wrote: 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

Re: [osg-users] View::setCameraManipulator

2014-03-11 Thread Gianni Ambrosio
Hi, is there a place where to submit a change request for this code? Regards, Gianni -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=58561#58561 ___ osg-users mailing list

Re: [osg-users] View::setCameraManipulator

2014-03-11 Thread Robert Osfield
HI Gianni, The root node of scene graph is passed onto the CameraManipulator by the Viewer in setCameraManipulator() and setSceneData() to ensure that the CameraManipulator's know what the root node is so can account for it when doing calculations on home position etc. Reading between the lines

[osg-users] View::setCameraManipulator

2014-03-03 Thread Gianni Ambrosio
Hi, is there a reason why View::setCameraManipulator method also sets the manipulator node? It seems that this method does more than what it states. In particular if I already set a node into the manipulator calling setManipulator erases the previous node. Regards, Gianni --