diff --git a/simgear/props/props.cxx b/simgear/props/props.cxx index 8b42ca6f..a1a00634 100755 --- a/simgear/props/props.cxx +++ b/simgear/props/props.cxx @@ -282,7 +282,7 @@ struct SGPropertyLock << "\n"; ret = default_; } - std::cerr << __FILE__ << ":" << __LINE__ << ":" + if (0) std::cerr << __FILE__ << ":" << __LINE__ << ":" << " name=" << name << " value=" << (value ? value : "") << " returning: " << ret @@ -2480,7 +2480,7 @@ SGPropertyNode::addChildren( const std::string& name, SGPropertyNode_ptr node; node = new SGPropertyNode(name, index, this); SGPropertyNodeImpl::appendNode(exclusive, *this, node); - fireChildAdded(node); + SGPropertyNodeImpl::fireChildAdded(exclusive, *this, this /*parent*/, node); nodes.push_back(node); } }