Melchior FRANZ wrote:
> To fix that I added a clear() method to SGPropertyNode, which does
> first call private clear_node() and then sets the type to NONE. Only
> now a new type can get assigned. This new method is called from the
> XML handler's startElement()

This looks good to me.  It only does the "type forcing" for nodes that
are (re-) read from a XML file, which is almost certainly correct in
all cases.


Flightgear-devel mailing list

Reply via email to