fix return value

This commit is contained in:
ehofman
2005-06-27 17:48:13 +00:00
parent 24f908d9be
commit 901592a88e

View File

@@ -930,7 +930,9 @@ SGPropertyNode::removeChild (const char * name, int index, bool keep)
if (node->nChildren() && node->removeChildren())
dirty = true;
if (node->_count == 1 && !node->nChildren()) {
if (node->isTied() || node->_count != 1 || node->nChildren())
dirty = true;
else {
if (keep)
_removedChildren.push_back(node);