From e5ddbfc0f2eb1fb8d0a33a0c4a5afe7d1e96c8cb Mon Sep 17 00:00:00 2001 From: nds Date: Thu, 23 Jun 2016 19:58:02 +0300 Subject: [PATCH] Linux compilation correction --- src/PartSet/PartSet_WidgetMultiSelector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PartSet/PartSet_WidgetMultiSelector.cpp b/src/PartSet/PartSet_WidgetMultiSelector.cpp index 31006f892..60059f31f 100755 --- a/src/PartSet/PartSet_WidgetMultiSelector.cpp +++ b/src/PartSet/PartSet_WidgetMultiSelector.cpp @@ -75,7 +75,7 @@ void PartSet_WidgetMultiSelector::getGeomSelection(const ModuleBase_ViewerPrsPtr // there is no a sketch feature is selected, but the shape exists, try to create an exernal object // TODO: unite with the same functionality in PartSet_WidgetShapeSelector if (aSPFeature.get() == NULL) - theObject = NULL; + theObject = ObjectPtr(); if (myExternalObjectMgr->useExternal()) { GeomShapePtr aShape = theShape; if (!aShape.get()) { -- 2.39.2