Salome HOME
Union of validator and filter functionalities.
[modules/shaper.git] / src / GeomAPI / GeomAPI_Shape.cpp
index 5a84a3d98680abc7ba2753556332fe53b31bffb1..78d5105ee98e9e55bd110eba04b3445c85033c0c 100644 (file)
@@ -27,6 +27,8 @@ bool GeomAPI_Shape::isNull() 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())