Hi,

Fyi, you can also remove a callback by using NULL, the ref counting would clean it up then. Would that help?

Cheers
Raymond



On 6/11/2010 1:34 PM, Alberto Luaces wrote:
"daniele argiolas" writes:

Thank you. I don't understand where is the error because in my program I simply 
call sometimes a removeUpdateCallback(nc) then an addUpdateCallback(nc) over my 
object, where nc is an osgAnimationCallback* object. I never delete my object 
then it's very strange this output.
Then it could be possible that you are removing the callback while OSG
is in its update phase. Where are you calling removeUpdateCallback()?


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

Reply via email to