1
0
Fork 0

Removed need to specify 'type' property at the top level; it's always

a dialog.
This commit is contained in:
david 2003-01-21 02:08:41 +00:00
parent f61d73e546
commit fbcfbd9355

View file

@ -218,11 +218,7 @@ FGDialog::makeObject (SGPropertyNode * props, int parentWidth, int parentHeight)
string type = props->getName();
if (type == "")
type = props->getStringValue("type");
if (type == "") {
SG_LOG(SG_GENERAL, SG_ALERT, "No type specified for GUI object");
return 0;
}
type = "dialog";
if (type == "dialog") {
puPopup * dialog;