diff --git a/simgear/props/props.cxx b/simgear/props/props.cxx index 12a8fe83..499d417f 100644 --- a/simgear/props/props.cxx +++ b/simgear/props/props.cxx @@ -642,7 +642,7 @@ SGPropertyNode::trace_read () const * Last used attribute * Update as needed when enum Attribute is changed */ -const int SGPropertyNode::LAST_USED_ATTRIBUTE = USERARCHIVE; +const int SGPropertyNode::LAST_USED_ATTRIBUTE = PRESERVE; /** * Default constructor: always creates a root node. diff --git a/simgear/props/props.hxx b/simgear/props/props.hxx index 60da557d..8cf38e6d 100644 --- a/simgear/props/props.hxx +++ b/simgear/props/props.hxx @@ -762,6 +762,8 @@ public: TRACE_WRITE = 32, USERARCHIVE = 64, PRESERVE = 128 + // beware: if you add another attribute here, + // also update value of "LAST_USED_ATTRIBUTE". };