CompositeViewer support: Difference between revisions

Jump to navigation Jump to search
m
Line 105: Line 105:


* The right way to remove a view is outside of frame(). Not from an event handler from within the view, this will crash as you'll be deleting the object you are doing the work from.<ref>https://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg35639.html</ref>
* The right way to remove a view is outside of frame(). Not from an event handler from within the view, this will crash as you'll be deleting the object you are doing the work from.<ref>https://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg35639.html</ref>
* If you want to keep the view around for future use then perhaps the easiest way to do it would be to disable the View's camera by setting its NodeMask to 0x0 i.e. view->getCamera()->setNodeMask(0x0); <ref>https://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg03518.html</ref>


=== DatabasePager ===  
=== DatabasePager ===  

Navigation menu