diff --git a/simgear/props/propertyObject.hxx b/simgear/props/propertyObject.hxx index ffa4866b..9e658659 100644 --- a/simgear/props/propertyObject.hxx +++ b/simgear/props/propertyObject.hxx @@ -115,11 +115,9 @@ public: T operator=(const T& aValue) { SGPropertyNode* n = PropertyObjectBase::node(true); - if (!n) { - std::cout << "no node" << std::endl; + if( !n ) return aValue; - } - + n->setValue(aValue); return aValue; }