Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Issue #2998: Add help description for automatic creation of constraints
[modules/shaper.git]
/
src
/
SketcherPrs
/
SketcherPrs_Radius.cpp
diff --git
a/src/SketcherPrs/SketcherPrs_Radius.cpp
b/src/SketcherPrs/SketcherPrs_Radius.cpp
index 8d3355d7752c226a1d93452c584922cfc9d9474c..bd10874fcd469eca67559649a633c3767eaea594 100644
(file)
--- a/
src/SketcherPrs/SketcherPrs_Radius.cpp
+++ b/
src/SketcherPrs/SketcherPrs_Radius.cpp
@@
-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);