[osg-users] osg::Switch node can't free memory

John Lee 357059570 at qq.com
Sun May 29 19:21:42 PDT 2016


Hi all!

I add a model to the osg::Switch node and set it on. And it goes well in OSG window. But when I turn the switch node to off,  the model is invisible while the memory still not free. Can anyone tell me why it happen? Or is there any way that I can hide my model and free memory dynamically?

Thank you!

Cheers,
John

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








More information about the osg-users mailing list