PAL13617 NbSubMesh() method works wrong

-  return _impl->NbSubMesh();
+  return _mapSubMesh_i.size();
This commit is contained in:
eap 2009-02-13 13:46:27 +00:00
parent 27212c6743
commit 8e73ed8d00

View File

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