PAL13617 NbSubMesh() method works wrong

This commit is contained in:
eap 2009-02-13 13:45:56 +00:00
parent aff95f9074
commit 1ae00d609a

View File

@ -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();
}
//=============================================================================