]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix the problem of projection in case not-supported type of edge is projected for...
authormpv <mpv@opencascade.com>
Fri, 20 Oct 2017 05:10:53 +0000 (08:10 +0300)
committermpv <mpv@opencascade.com>
Fri, 20 Oct 2017 05:10:53 +0000 (08:10 +0300)
src/SketchPlugin/SketchPlugin_Projection.cpp

index 254ccafc99899862470662f77a7daa3ce5eacff0..fb6815a16192451324a9171601093ae40ca45898 100644 (file)
@@ -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();