Added support hud property for title, bullets and paragraph tags

This commit is contained in:
Robert Osfield
2011-03-15 19:54:57 +00:00
parent bdd4a67d7c
commit f2ce2f19a9
3 changed files with 114 additions and 47 deletions

View File

@@ -733,6 +733,14 @@ bool ReaderWriterP3DXML::getProperties(osgDB::XmlNode*cur, osgPresentation::Slid
propertiesRead = true;
}
if (getProperty(cur, "hud", str))
{
value.hud = (str != "off" && str != "Off" && str != "OFF");
OSG_NOTIFY(_notifyLevel)<<"hud, str="<<str<<", hud="<<value.hud<<std::endl;
propertiesRead = true;
}
return propertiesRead;
}