From 79a81f34450def8e430ede05658eca1f500647b7 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 7 Mar 2006 10:51:41 +0000 Subject: [PATCH] bug 11812. Return nb of found hypothesis from GetHypotheses() --- src/SMESH/SMESH_Mesh.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } //============================================================================= -- 2.39.2