Hi Robert,

yes I understood that, now I'm thinking about how to proceed..

I can think of two solutions:
1. Removing the static function to "invite" users to hold an instance in their 
application to allow caching
2. use a static instance of the callback ref_ptr to provide the persistent 
class instance to enable caching.

2. looks good for me, but I'm sure I missed several reasons against that static 
solution. ;)

Your comments are welcome.

Cheers,
Torben

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





_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to