From 19644b316cf32735007a0c06b6bb3d4c0793ed82 Mon Sep 17 00:00:00 2001 From: mpv Date: Tue, 14 Nov 2017 17:33:57 +0300 Subject: [PATCH] Linux compilation fix. --- src/SketchPlugin/SketchPlugin_Projection.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } } } -- 2.39.2