From 901592a88ee0fa6d32891f116e8211be0894e0ba Mon Sep 17 00:00:00 2001 From: ehofman Date: Mon, 27 Jun 2005 17:48:13 +0000 Subject: [PATCH] fix return value --- simgear/props/props.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/simgear/props/props.cxx b/simgear/props/props.cxx index 7c004b5a..2e14a643 100644 --- a/simgear/props/props.cxx +++ b/simgear/props/props.cxx @@ -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); -- 2.39.5