myType = CONSTRAINT_MULTI_ROTATION;
- myStorage->update(aCenterAttr, GID_OUTOFGROUP);
+ myStorage->update(aCenterAttr);
theCenter = myStorage->entity(aCenterAttr);
AttributeStringPtr aMethodTypeAttr = aData->string(SketchPlugin_MultiRotation::ANGLE_TYPE());
std::list<ConstraintWrapperPtr>::const_iterator aCIt;
for (; anIt != myConstraintMap.end(); ++anIt)
for (aCIt = anIt->second.begin(); aCIt != anIt->second.end(); ++aCIt) {
- // Do not process coincidence between points
+ // Do not process coincidence between points and "multi" constraints
// (these constraints are stored to keep the structure of constraints).
- if ((*aCIt)->type() == CONSTRAINT_PT_PT_COINCIDENT)
+ if ((*aCIt)->type() == CONSTRAINT_PT_PT_COINCIDENT ||
+ (*aCIt)->type() == CONSTRAINT_MULTI_ROTATION ||
+ (*aCIt)->type() == CONSTRAINT_MULTI_TRANSLATION)
continue;
bool isUpdated = false;