Hello Gerrit,

Gerrit Voß wrote:
> the problem is the explicit recorded refcounts in createScenegraph
> make the nodes be deleted before they are linked into their places
> during the app -> anim sync. 

ouch, that's not nice.

> Simple solution: 
> - Don't use RecPtr for temporary stuff, they don't make any
>   sense for that. 

true, but I think we both agree that crashing is not really user 
friendly ;) ;)

> Real solution:
> - There should infrastructure to avoid this I'll see why these
>   seem to make a way around it.

one thing I noticed (might be unrelated though) is that in 
ChangeList::doApply() add/subRecorded() is used when playing back ref 
count changes. Shouldn't that be unrecorded? I thought the rule is that 
changelist apply is not transitive, has that changed?

        Cheers,
                Carsten

------------------------------------------------------------------------------
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to