From: mpv Date: Fri, 20 Oct 2017 05:10:53 +0000 (+0300) Subject: Fix the problem of projection in case not-supported type of edge is projected for... X-Git-Tag: V_2.9.1~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=54497cb0aa0f9d14593fcf35f790c5772d83a769;p=modules%2Fshaper.git Fix the problem of projection in case not-supported type of edge is projected for the external feature creation. --- diff --git a/src/SketchPlugin/SketchPlugin_Projection.cpp b/src/SketchPlugin/SketchPlugin_Projection.cpp index 254ccafc9..fb6815a16 100644 --- a/src/SketchPlugin/SketchPlugin_Projection.cpp +++ b/src/SketchPlugin/SketchPlugin_Projection.cpp @@ -246,7 +246,8 @@ void SketchPlugin_Projection::computeProjection(const std::string& theID) aProjection->boolean(SketchPlugin_Arc::REVERSED_ID())->setValue(isInversed); aProjection->data()->blockSendAttributeUpdated(aWasBlocked, false); - } + } else + return; aProjection->boolean(COPY_ID())->setValue(true); aProjection->execute();