Hi, that's not a problem, I had the same also before insert the removecallback.

My program use the reactivision tracking system (with TUIO server) and 
implements an augmented reality software.
In osg I receive position of marker taken by reactivision and for every 
position I call an update callback for update object's position.
Then that's impossible that I call an update callback over an object that's not 
exists. I never destroy objects.



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()?
> 
> -- 
> Alberto
> 
> _______________________________________________
> osg-users mailing list
> 
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 
>  ------------------
> Post generated by Mail2Forum


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





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

Reply via email to