From: mpv Date: Tue, 14 Nov 2017 14:33:57 +0000 (+0300) Subject: Linux compilation fix. X-Git-Tag: V_2.10.0RC~163 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=19644b316cf32735007a0c06b6bb3d4c0793ed82;p=modules%2Fshaper.git Linux compilation fix. --- diff --git a/src/SketchPlugin/SketchPlugin_Projection.cpp b/src/SketchPlugin/SketchPlugin_Projection.cpp index 59f4cd6fb..3d783a408 100644 --- a/src/SketchPlugin/SketchPlugin_Projection.cpp +++ b/src/SketchPlugin/SketchPlugin_Projection.cpp @@ -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); } } }