From: eap Date: Fri, 13 Feb 2009 13:46:27 +0000 (+0000) Subject: PAL13617 NbSubMesh() method works wrong X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8e73ed8d00e97b1435fa4dd8033ffda319675ba6;p=modules%2Fsmesh.git PAL13617 NbSubMesh() method works wrong - return _impl->NbSubMesh(); + return _mapSubMesh_i.size(); --- diff --git a/src/SMESH_I/SMESH_Mesh_i.cxx b/src/SMESH_I/SMESH_Mesh_i.cxx index 04697f7d4..8371ccf2f 100644 --- a/src/SMESH_I/SMESH_Mesh_i.cxx +++ b/src/SMESH_I/SMESH_Mesh_i.cxx @@ -2333,7 +2333,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(); } //=============================================================================