Title: Callbacks and waiting

Robert,

I created an update callback that sets a member bool to true. In the method which alters the switch to turn on all children, I do a while on the variable that should break when it is set to true. The callback is calling the set to true method, but it stops calling when I am in the while loop, so the while loop never breaks. Are there any examples anywhere of code that waits for something to actually be rendered to screen? Does it sound like a threading model problem? I can't figure out a method that works for the life of me. Please help!

Thanks again,
John

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to