From 1ae00d609a8f5c72ba6d2d5beb7bb4d5d04a1d67 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 13 Feb 2009 13:45:56 +0000 Subject: [PATCH] PAL13617 NbSubMesh() method works wrong --- src/SMESH_I/SMESH_Mesh_i.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SMESH_I/SMESH_Mesh_i.cxx b/src/SMESH_I/SMESH_Mesh_i.cxx index 37ecf2398..499c3b751 100644 --- a/src/SMESH_I/SMESH_Mesh_i.cxx +++ b/src/SMESH_I/SMESH_Mesh_i.cxx @@ -1793,7 +1793,7 @@ CORBA::Long SMESH_Mesh_i::NbPrismsOfOrder(SMESH::ElementOrder order) CORBA::Long SMESH_Mesh_i::NbSubMesh()throw(SALOME::SALOME_Exception) { Unexpect aCatch(SALOME_SalomeException); - return _impl->NbSubMesh(); + return _mapSubMesh_i.size(); } //============================================================================= -- 2.39.2