From c24b055dc1fe189c1287d94051a63cda22cec8a7 Mon Sep 17 00:00:00 2001 From: nds Date: Thu, 23 Jun 2016 20:07:03 +0300 Subject: [PATCH] Linux compilation correction --- src/PartSet/PartSet_WidgetShapeSelector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PartSet/PartSet_WidgetShapeSelector.cpp b/src/PartSet/PartSet_WidgetShapeSelector.cpp index 05a113367..7490a8510 100755 --- a/src/PartSet/PartSet_WidgetShapeSelector.cpp +++ b/src/PartSet/PartSet_WidgetShapeSelector.cpp @@ -79,7 +79,7 @@ void PartSet_WidgetShapeSelector::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