write-protection warning: use simplified path

This commit is contained in:
mfranz
2008-07-09 17:31:55 +00:00
parent b8a12b0e5b
commit 38456bddb5

View File

@@ -192,7 +192,7 @@ PropsVisitor::startElement (const char * name, const XMLAttributes &atts)
SGPropertyNode * node = st.node->getChild(name, index, true);
if (!node->getAttribute(SGPropertyNode::WRITE)) {
SG_LOG(SG_INPUT, SG_ALERT, "Not overwriting write-protected property "
<< node->getPath());
<< node->getPath(true));
node = &null;
}