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 problems reported by Christophe in mail 31.10.2018
[modules/shaper.git]
/
src
/
GeomValidators
/
GeomValidators_DifferentShapes.cpp
diff --git
a/src/GeomValidators/GeomValidators_DifferentShapes.cpp
b/src/GeomValidators/GeomValidators_DifferentShapes.cpp
index 69a981be699f7741b1e34a6091e1d5dc344c0afb..e030c284e0cef28e6185e55d682a1fbb5c85a610 100644
(file)
--- a/
src/GeomValidators/GeomValidators_DifferentShapes.cpp
+++ b/
src/GeomValidators/GeomValidators_DifferentShapes.cpp
@@
-171,5
+171,7
@@
bool GeomValidators_DifferentShapes::isAttrShapesEqual(const AttributePtr& theAt
}
GeomShapePtr aOtherTypedShape = GeomAPI_Tools::getTypedShape(anOtherShape);
+ if (!aTypedShape.get())
+ return !aTypedShape.get() && !aOtherTypedShape.get();
return aTypedShape->isEqual(aOtherTypedShape);
-}
\ No newline at end of file
+}