for(; anOldIter != anOldList.end(); anOldIter++) {
REMOVE_BACK_REF((*anOldIter));
}
+ owner()->data()->sendAttributeUpdated(this);
}
int Model_AttributeRefList::size(const bool theWithEmpty) const
else {
AttributeRefListPtr aRefListAttr = myFeature->data()->reflist(attributeID());
// restore objects in the attribute. Indeed there is only one stored object
-#ifdef DEBUG_REFLIST
int aCountAppened = aRefListAttr->size() - mySelectionCount;
for (int i = 0; i < aCountAppened; i++)
aRefListAttr->removeLast();
-#endif
}
}
if (aFeature)
aDoc->removeFeature(aFeature);
}
+ aRefListOfMirrored->clear();
+ std::dynamic_pointer_cast<ModelAPI_AttributeRefList>(
+ data()->attribute(SketchPlugin_Constraint::ENTITY_B()))->clear();
}
}
}