]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchPlugin/SketchPlugin_MacroArc.cpp
Salome HOME
Fixed crash when creating arc coinciding with already created arc.
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_MacroArc.cpp
index 54c2f64b7ac2d928a5c48d28dcdc1a542eb71bab..5bbb322358f90792c725358c6a973603614ec281 100644 (file)
@@ -113,7 +113,9 @@ static void intersectShapeAndCircle(const GeomShapePtr& theShape,
       }
     }
   }
-  theIntersection->setValue(anInterPnt);
+  if(anInterPnt.get()) {
+    theIntersection->setValue(anInterPnt);
+  }
 }