]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Linux compilation correction
authornds <nds@opencascade.com>
Thu, 23 Jun 2016 17:07:03 +0000 (20:07 +0300)
committernds <nds@opencascade.com>
Thu, 23 Jun 2016 17:07:03 +0000 (20:07 +0300)
src/PartSet/PartSet_WidgetShapeSelector.cpp

index 05a11336796d04af95fdaaadb8568ce8550e2440..7490a8510780e7db0b71490c941c90dc53a3923c 100755 (executable)
@@ -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()) {