Csaba Halász wrote:
> Problem: Apparently when you add an alias to a property node, the
> reference count of the target of the alias isn't incremented, so it
> can vanish at any moment.
> Fix: Since the SGPropertyNode class is hand managing its value
> pointers anyway, I don't see much point in using SGPropertyNode_ptr
> here, so I just called the SGReferenced get/put functions directly.
> 
I've committed your fix, but eventually I'd like to rework this to use an 
SGPropertyNode_ptr. It's asking for trouble to do put() and get() by hand.

Tim

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to