]> git.mxchange.org Git - simgear.git/blobdiff - simgear/props/props_io.cxx
Modified Files:
[simgear.git] / simgear / props / props_io.cxx
index b89f1d469d3bca67944b474315a0e622ddc29b2f..187f566060fb2f18fae8740a7f8abebcb8325952 100644 (file)
@@ -279,6 +279,8 @@ PropsVisitor::endElement (const char * name)
       ret = st.node->setStringValue(_data.c_str());
     } else if (st.type == "unspecified") {
       ret = st.node->setUnspecifiedValue(_data.c_str());
+    } else if (_level == 1) {
+      ret = true;              // empty <PropertyList>
     } else {
       string message = "Unrecognized data type '";
       message += st.type;