* Roy Vegard Ovesen -- Saturday 14 May 2005 16:24: > On Saturday 14 May 2005 14:56, Melchior FRANZ wrote: > > Unfortunately, something in the dialog code seems to rely on that bug. > > Working on it ... > > I'll add that reloading the gui (Debug->Reload GUI) at runtime fixes the > dialogs. Hope this info helps solving the problem.
I've found the bug already. In dialog.cxx: // Remove automatically generated properties, so the layout looks // the same next time around. if(!userx) props->removeChild("x"); if(!usery) props->removeChild("y"); if(!userw) props->removeChild("width"); if(!userh) props->removeChild("height"); ... and then we happily continue to read from the just removed nodes. Come on! We can do better than that! :-) sg should consider to complain about attempts to read from a removed node, and not sheepishly deliver. m. _______________________________________________ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d