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.

Andy

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to