From cdef9f664e97319ac319c0bb74872c293f7c44ed Mon Sep 17 00:00:00 2001 From: azv Date: Tue, 14 Mar 2017 15:26:35 +0300 Subject: [PATCH] Fix compilation on Linux of SketchAPI project --- src/SketchAPI/SketchAPI_Sketch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SketchAPI/SketchAPI_Sketch.cpp b/src/SketchAPI/SketchAPI_Sketch.cpp index ec05c1377..d9fff77ce 100644 --- a/src/SketchAPI/SketchAPI_Sketch.cpp +++ b/src/SketchAPI/SketchAPI_Sketch.cpp @@ -626,7 +626,7 @@ std::shared_ptr SketchAPI_Sketch::setFilletWithRadius( // set radius for just created arc FeaturePtr anArc = aSketch->subFeature(aNbSubs - 1); if (anArc->getKind() == SketchPlugin_Arc::ID()) - setRadius(ModelHighAPI_RefAttr(anArc->lastResult()), ModelHighAPI_Double(theRadius)); + setRadius(ModelHighAPI_RefAttr(ObjectPtr(anArc->lastResult())), ModelHighAPI_Double(theRadius)); return aFilletFeature; } -- 2.39.2