I've just discovered a potential solution for the initialization order for 
static objects. You can use the "depends_on"-pattern to let your classes 
inherit their dependencies.

http://www.entropygames.net/index.php?option=com_content&view=article&id=52

I don't know the OSG code enough in detail to know if this would fit into the 
design, but it is certainly an elegant solution.

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





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

Reply via email to