Re: [osg-users] osg::observer_ptr and osg::ref_ptr

2018-10-31 Thread Glenn Waldron
Kristofer, Yes. The semantics of observer_ptr guarantee the existence of the target object ONLY after calling lock(). Only by calling lock() can you know for certain that the target object exists; calling get() is insufficient because get() will return a raw pointer that may or may not actually

Re: [osg-users] Idea to implement a kind of 'rubber mode'

2018-10-31 Thread Christoph Dohmen
Hi Laurens, in the end it took some time but finally I could create source to create the eraser and it is up and running quite smooth. Thank you! Thank you! Cheers, Christoph -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=75156#75156