if (theSelection->getSelected(ModuleBase_ISelection::Viewer).size() == 0) {
return isEmptySelectionValid(theOperation);
} else {
- int aCount = shapesNbLines(theSelection);
- return (aCount > 0) && (aCount < 3);
+ int aCount = shapesNbPoints(theSelection);
+ return aCount == 1;
}
}
<doublevalue label="Radius" tooltip="Fillet arc radius" id="ConstraintValue" min="0" default="1" use_reset="false">
<validator id="GeomValidators_Positive"/>
</doublevalue>
+ <validator id="PartSet_FilletSelection"/>
</feature>
</group>