if (theHighlighted.size() == 1) {
FeaturePtr aFeature = theHighlighted.front().feature();
if (aFeature) {
- std::string anOperationType = getOperationType(aFeature);
+ std::string anOperationType = PartSet_OperationFeatureEdit::Type();
if (theSelected.size() > 1)
anOperationType = PartSet_OperationFeatureEditMulti::Type();
restartOperation(anOperationType, aFeature);
if (theSelected.size() == 1) {
FeaturePtr aFeature = theSelected.front().feature();
if (aFeature)
- restartOperation(getOperationType(aFeature), aFeature);
+ restartOperation(PartSet_OperationFeatureEdit::Type(), aFeature);
}
}
}
emit closeLocalContext();
emit planeSelected(aDir->x(), aDir->y(), aDir->z());
}
-
-std::string PartSet_OperationSketch::getOperationType(FeaturePtr theFeature)
-{
- return PartSet_OperationFeatureEdit::Type();
-}