Salome HOME
Issue #2998: Add help description for automatic creation of constraints
[modules/shaper.git] / src / SketcherPrs / SketcherPrs_Radius.cpp
index 8d3355d7752c226a1d93452c584922cfc9d9474c..bd10874fcd469eca67559649a633c3767eaea594 100644 (file)
@@ -145,6 +145,8 @@ void SketcherPrs_Radius::Compute(
   const Handle(Prs3d_Presentation)& thePresentation,
   const Standard_Integer theMode)
 {
+  if (!plane().get())
+    return;
   gp_Circ aCircle;
   gp_Pnt anAnchorPoint;
   bool aReadyToDisplay = readyToDisplay(myConstraint, plane(), aCircle, anAnchorPoint);