[osg-users] osg::Operation

Adrian Jelffs adrian.jelffs at makai.com
Thu Mar 15 17:23:34 PDT 2018


Hello,

I am using osgEarth to add and remove layers but I get a crash when I am running in debug mode. I have read that this is probably a thread safety issue and I should probably be using osg::Operation and Viewer::addUpdateOperation().

How do I use these methods? I have bought the book on OSG and Google online but I can't see any examples of documentation. 

Could somebody give me a few lines of code to show me how to use addUpdateOperation?

Many thanks for your help! :)

Cheers,

Adrian

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







More information about the osg-users mailing list