Salome HOME
Update Filters data model using the previous filters implementation: filter arguments...
[modules/shaper.git] / src / PartSet / PartSet_WidgetSketchCreator.cpp
index 0cb122ec6178469aab99eba4995996695d93817b..a201d5d385578e0ed9a50736a2c775d69a0b2d93 100644 (file)
@@ -382,10 +382,6 @@ bool PartSet_WidgetSketchCreator::startSketchOperation(
   bool aHidePreview = myPreviewPlanes->isPreviewDisplayed();
   myPreviewPlanes->erasePreviewPlanes(myWorkshop);
 
-  // Launch Sketch operation
-  CompositeFeaturePtr aCompFeature =
-    std::dynamic_pointer_cast<ModelAPI_CompositeFeature>(myFeature);
-
   // start edit operation for the sketch
   ModuleBase_OperationFeature* aFOperation = dynamic_cast<ModuleBase_OperationFeature*>
                                                             (myModule->createOperation("Sketch"));