Salome HOME
projects
/
modules
/
shaper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9d5183
)
Fix crash in the Coincidence presentation (issue #2119)
author
azv
<azv@opencascade.com>
Wed, 3 Oct 2018 12:35:29 +0000
(15:35 +0300)
committer
azv
<azv@opencascade.com>
Wed, 3 Oct 2018 12:36:02 +0000
(15:36 +0300)
src/SketcherPrs/SketcherPrs_Coincident.cpp
patch
|
blob
|
history
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;