X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESH_I%2FSMESH_Group_i.cxx;h=ef9ad77608468615d646e17fb2de594c76c5fb55;hb=bd7477efc255f965c479d88d1be1ee3dbf4aa760;hp=84e405e9b4d2d3d579371a329998d20966a48bb7;hpb=004925bca40d46c25cf9cc837193335163c2d44f;p=modules%2Fsmesh.git diff --git a/src/SMESH_I/SMESH_Group_i.cxx b/src/SMESH_I/SMESH_Group_i.cxx index 84e405e9b..ef9ad7760 100644 --- a/src/SMESH_I/SMESH_Group_i.cxx +++ b/src/SMESH_I/SMESH_Group_i.cxx @@ -27,10 +27,10 @@ // #include "SMESH_Group_i.hxx" -#include "SMDSAbs_ElementType.hxx" #include "SMESHDS_Group.hxx" #include "SMESHDS_GroupOnFilter.hxx" #include "SMESHDS_GroupOnGeom.hxx" +#include "SMESHDS_Mesh.hxx" #include "SMESH_Comment.hxx" #include "SMESH_Filter_i.hxx" #include "SMESH_Gen_i.hxx" @@ -150,9 +150,8 @@ void SMESH_GroupBase_i::SetName( const char* theName ) // Update group name in a study SMESH_Gen_i* aGen = myMeshServant->GetGen(); - SALOMEDS::Study_var aStudy = aGen->GetCurrentStudy(); SMESH::SMESH_GroupBase_var aGrp = _this(); - SALOMEDS::SObject_var anSO = aGen->ObjectToSObject( aStudy, aGrp ); + SALOMEDS::SObject_var anSO = aGen->ObjectToSObject( aGrp ); if ( !anSO->_is_nil() ) { aGen->SetName( anSO, theName ); @@ -480,7 +479,6 @@ SMESH::long_array* SMESH_GroupBase_i::GetListOfID() if ( 0 < aSize && aSize < 100 ) // for comfortable testing ;) std::sort( &aRes[0], &aRes[0]+aSize ); } - MESSAGE("get list of IDs of a vague group"); return aRes._retn(); } @@ -673,7 +671,6 @@ void SMESH_GroupBase_i::SetColorNumber(CORBA::Long color) aGroupDS->SetColorGroup(color); TPythonDump()<