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
Fix crash in the Coincidence presentation (issue #2119)
[modules/shaper.git]
/
src
/
SketcherPrs
/
SketcherPrs_Coincident.cpp
diff --git
a/src/SketcherPrs/SketcherPrs_Coincident.cpp
b/src/SketcherPrs/SketcherPrs_Coincident.cpp
index d5c13571e905bccec9a2d2642ae5b4d861f17a46..acf5d24a7d3a93df5e5b9582523b5c81c5b89178 100644
(file)
--- a/
src/SketcherPrs/SketcherPrs_Coincident.cpp
+++ b/
src/SketcherPrs/SketcherPrs_Coincident.cpp
@@
-129,7
+129,7
@@
void SketcherPrs_Coincident::Compute(
if (aSub->getKind() == SketchPlugin_ConstraintCoincidence::ID() &&
aSub.get() != myConstraint) {
aP = getCoincidencePoint(aSub.get());
- if (aP->isEqual(aPnt)) {
+ if (aP
&& aP
->isEqual(aPnt)) {
aIsEdge = hasEdge(aSub.get());
if (aIsEdge)
break;