[osg-submissions] Add slave camera

Robert Osfield robert.osfield at gmail.com
Sat Oct 6 07:58:52 PDT 2007


Hi Filip,

I've been wondering about the issue with binary compatibility - and
adding a virtual function breaks binary compatibility which is bad
news for 2.2.1.  It occurred to me that the only way not to break
binary compatibility would be to modify the existing View::addSlave
method so that it copied it's Camera's subgraph from the master
Camera's subgraph.

I have modified and checked in the modified View.cpp, its also
attached.  I didn't have any example code to reproduce the original so
could you try at your end?

Cheers,
Robert.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: View.cpp
Type: text/x-c++src
Size: 5908 bytes
Desc: not available
Url : http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20071006/2172cdc1/attachment.cpp 


More information about the osg-submissions mailing list