From: nds Date: Thu, 23 Jun 2016 16:58:02 +0000 (+0300) Subject: Linux compilation correction X-Git-Tag: V_2.4.0~25 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e5ddbfc0f2eb1fb8d0a33a0c4a5afe7d1e96c8cb;p=modules%2Fshaper.git Linux compilation correction --- 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()) {