* Andy Ross -- Sunday 15 May 2005 17:21:
[removeChild() bug]
> Give the attached patch a try. It removed the whole idea of "saving"
> removed nodes for future use* and just deletes it for real.
Compiles and doesn't crash, also makes the dialog work again. But it does
still not make getNode() return 0 for a removed node. I changed this in
dialog():
- if(!userx) props->removeChild("x");
+ if(!userx) { props->removeChild("x"); fprintf(stderr,
"\033[34;1m%p\033[m\n", props->getNode("x")); }
And what was output was definitely not a 0. (?)
m.
_______________________________________________
Flightgear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d