]> git.mxchange.org Git - simgear.git/blobdiff - simgear/misc/props_io.cxx
Added trace attributes to properties:
[simgear.git] / simgear / misc / props_io.cxx
index 4f7dac93c42e6e0e0848f402b55b31373bcc75cd..160539ae73b41309c9f6d1fe88b9bdeada65976c 100644 (file)
@@ -181,6 +181,12 @@ PropsVisitor::startElement (const char * name, const XMLAttributes &atts)
     attval = atts.getValue("archive");
     if (checkFlag(attval, false))
       mode |= SGPropertyNode::ARCHIVE;
+    attval = atts.getValue("trace-read");
+    if (checkFlag(attval, false))
+      mode |= SGPropertyNode::TRACE_READ;
+    attval = atts.getValue("trace-write");
+    if (checkFlag(attval, false))
+      mode |= SGPropertyNode::TRACE_WRITE;
 
                                // Check for an alias.
     attval = atts.getValue("alias");