double aX, aY;
if (getPoint2d(aView, aShape, aX, aY)) {
isDone = setPoint(aX, aY);
+ PartSet_Tools::setConstraints(mySketch, feature(), attributeID(), aX, aY);
}
}
else if (canBeActivatedByMove()) {
else {
if (getPoint2d(aView, aShape, aX, aY))
setPoint(aX, aY);
- bool anOrphanPoint = isOrphanPoint(aSelectedFeature, mySketch, aX, aY);
+ bool anOrphanPoint = aShape.ShapeType() == TopAbs_VERTEX ||
+ isOrphanPoint(aSelectedFeature, mySketch, aX, aY);
setConstraintWith(aObject);
if (!anOrphanPoint)
emit vertexSelected();