# include <simgear_config.h>
#endif
-#include <simgear/scene/model/SGReaderWriterXMLOptions.hxx>
+#include <simgear/scene/util/SGReaderWriterOptions.hxx>
#include <simgear/scene/tgdb/userdata.hxx>
#include <simgear/math/SGMath.hxx>
}
string getGlobalProperty(const SGPropertyNode* prop,
- const SGReaderWriterXMLOptions* options)
+ const SGReaderWriterOptions* options)
{
if (!prop)
return string();
SGPropertyNode_ptr propRoot;
if (propName[0] == '/') {
return propName;
- } else if ((propRoot = options->getPropRoot())) {
+ } else if ((propRoot = options->getPropertyNode())) {
string result = propRoot->getPath();
result.append("/");
result.append(propName);