From: eap Date: Fri, 13 Feb 2009 13:45:56 +0000 (+0000) Subject: PAL13617 NbSubMesh() method works wrong X-Git-Tag: V4_1_5rc1~44 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=1ae00d609a8f5c72ba6d2d5beb7bb4d5d04a1d67;hp=aff95f90748499d98ad1e33ee3ad3bc1c3d8f880;p=modules%2Fsmesh.git PAL13617 NbSubMesh() method works wrong --- 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(); } //=============================================================================