From: azv Date: Tue, 14 Mar 2017 12:26:35 +0000 (+0300) Subject: Fix compilation on Linux of SketchAPI project X-Git-Tag: V_2.7.0~227^2~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cdef9f664e97319ac319c0bb74872c293f7c44ed;p=modules%2Fshaper.git Fix compilation on Linux of SketchAPI project --- 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; }