]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Linux compilation correction
authornds <nds@opencascade.com>
Thu, 23 Jun 2016 16:58:02 +0000 (19:58 +0300)
committernds <nds@opencascade.com>
Thu, 23 Jun 2016 16:58:02 +0000 (19:58 +0300)
src/PartSet/PartSet_WidgetMultiSelector.cpp

index 31006f8927908c96808985396ccafcdff533ab6a..60059f31ff5af031d4522aff51b75f5c06444f68 100755 (executable)
@@ -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()) {