From: nds Date: Wed, 18 Mar 2015 11:53:52 +0000 (+0300) Subject: Sketch selection in the browser for extrusion operation X-Git-Tag: V_1.1.0~109^2~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5bbaa854d0b7a8d919aa46e85d8eaae7cfd8f3e1;p=modules%2Fshaper.git Sketch selection in the browser for extrusion operation An empty shape for the sketch result --- diff --git a/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp b/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp index 2b1dd47ad..22145d36f 100644 --- a/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp +++ b/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp @@ -257,8 +257,8 @@ void ModuleBase_WidgetMultiSelector::onSelectionChanged() aShape->setImpl(new TopoDS_Shape(aShpIt.Value())); if (aShape->isEqual(aResult->shape())) { - aShape = std::shared_ptr(new GeomAPI_Shape()); - mySelection.append(GeomSelection(aResult, aShape)); + //aShape = std::shared_ptr(new GeomAPI_Shape()); + mySelection.append(GeomSelection(aResult, NULL));//aShape)); } else mySelection.append(GeomSelection(aResult, aShape));