std::string aKind = aFeature ? aFeature->getKind() : "";
ModuleBase_Operation* anOperation = createOperation(theName, aKind);
+
PartSet_OperationSketchBase* aSketchOp = dynamic_cast<PartSet_OperationSketchBase*>(anOperation);
if (aSketchOp) {
XGUI_Selection* aSelection = myWorkshop->selector()->selection();
if (aCreateOp)
aCreateOp->initFeature(aFeature);
else {
- PartSet_OperationFeatureEdit* aEditOp = dynamic_cast<PartSet_OperationFeatureEdit*>(anOperation);
- if (aEditOp)
+ // PartSet_OperationFeatureEdit* aEditOp = dynamic_cast<PartSet_OperationFeatureEdit*>(anOperation);
+ // if (aEditOp)
anOperation->setFeature(aFeature);
}
} else if (aFeature) {