aObj = subObject(aId);
if (aNode->object() != aObj) {
myChildren.removeAll(aNode);
+ aResult.removeAll(aNode);
delete aNode;
isDeleted = true;
}
aToSort |= ((aIndex != -1) && (aId != aIndex));
if (aIndex == -1) {
myChildren.removeAll(aNode);
+ aResult.removeAll(aNode);
delete aNode;
aRemoved = true;
}
aToSort |= ((aIndex != -1) && (aId != (aIndex + aNb)));
if (aIndex == -1) {
myChildren.removeAll(aNode);
+ aResult.removeAll(aNode);
delete aNode;
aRemoved = true;
continue;
if ((aFirst + aId) < aNbOfFeatures) {
if (aNode->object() != aDoc->object(ModelAPI_Feature::group(), aFirst + aId)) {
myChildren.removeAll(aNode);
+ aResult.removeAll(aNode);
delete aNode;
aRemoved = true;
continue;
}
else {
myChildren.removeAll(aNode);
+ aResult.removeAll(aNode);
delete aNode;
aRemoved = true;
continue;