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
Union of validator and filter functionalities.
[modules/shaper.git]
/
src
/
GeomAPI
/
GeomAPI_Shape.cpp
diff --git
a/src/GeomAPI/GeomAPI_Shape.cpp
b/src/GeomAPI/GeomAPI_Shape.cpp
index 5a84a3d98680abc7ba2753556332fe53b31bffb1..78d5105ee98e9e55bd110eba04b3445c85033c0c 100644
(file)
--- a/
src/GeomAPI/GeomAPI_Shape.cpp
+++ b/
src/GeomAPI/GeomAPI_Shape.cpp
@@
-27,6
+27,8
@@
bool GeomAPI_Shape::isNull() const
bool GeomAPI_Shape::isEqual(const std::shared_ptr<GeomAPI_Shape> theShape) const
{
bool GeomAPI_Shape::isEqual(const std::shared_ptr<GeomAPI_Shape> theShape) const
{
+ if (!theShape.get())
+ return false;
if (isNull())
return theShape->isNull();
if (theShape->isNull())
if (isNull())
return theShape->isNull();
if (theShape->isNull())