From 5bbaa854d0b7a8d919aa46e85d8eaae7cfd8f3e1 Mon Sep 17 00:00:00 2001 From: nds Date: Wed, 18 Mar 2015 14:53:52 +0300 Subject: [PATCH] Sketch selection in the browser for extrusion operation An empty shape for the sketch result --- src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); -- 2.39.2