Robert Osfield wrote:
Ok, its pretty clear that the static object is not getting created
before its being used.  A singleton function call is the solution.  I
can modify this code and check it in.

  Ok. Thanks. I will update and test and let you know.

I still must confess I don't understand why the static object is not getting initialized. Is it because it is global? But even global statics should get constructed, AFAIK.

I would like to understand the problem so I can grasp if it could occur elsewhere in OSG, or in my own code.

--
Chris 'Xenon' Hanson aka Eric Hammil | http://www.3DNature.com/ eric at logrus
 "I set the wheels in motion, turn up all the machines, activate the programs,
  and run behind the scenes. I set the clouds in motion, turn up light and 
sound,
  activate the window, and watch the world go 'round." -Prime Mover, Rush.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to