diff --git a/src/SMESH/SMESH_Mesh.cxx b/src/SMESH/SMESH_Mesh.cxx index e973b605a..23c5041c7 100644 --- a/src/SMESH/SMESH_Mesh.cxx +++ b/src/SMESH/SMESH_Mesh.cxx @@ -585,7 +585,7 @@ int SMESH_Mesh::GetHypotheses(const TopoDS_Shape & aSubShape, } } } - return !aHypList.empty(); + return nbHyps; } //=============================================================================