]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Linux compilation fix.
authormpv <mpv@opencascade.com>
Tue, 14 Nov 2017 14:33:57 +0000 (17:33 +0300)
committermpv <mpv@opencascade.com>
Tue, 14 Nov 2017 14:33:57 +0000 (17:33 +0300)
src/SketchPlugin/SketchPlugin_Projection.cpp

index 59f4cd6fbe1aa198e05cad420e386294b2608b44..3d783a40850a9c902b5b2db01cfe41b1d25dfc27 100644 (file)
@@ -259,7 +259,8 @@ void SketchPlugin_Projection::computeProjection(const std::string& theID)
     if (aResult) {
       aResult->setShape(aProjection->lastResult()->shape());
       setResult(aResult);
-      aProjection->selection(EXTERNAL_ID())->setValue(lastResult(), NULL);
+      GeomShapePtr anEmptyVal;
+      aProjection->selection(EXTERNAL_ID())->setValue(lastResult(), anEmptyVal);
     }
   }
 }