From: bri Date: Thu, 18 Apr 2013 08:12:22 +0000 (+0000) Subject: sroring the mesh name during checkin (GetModifiedData) X-Git-Tag: Delivery_V1_0_2013_07_12~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0925bd9c616626af9239807a8a6279d878c4a7aa;p=modules%2Fsmesh.git sroring the mesh name during checkin (GetModifiedData) --- diff --git a/src/SMESH_I/SMESH_Gen_i.cxx b/src/SMESH_I/SMESH_Gen_i.cxx index 81ad54152..bfc348791 100644 --- a/src/SMESH_I/SMESH_Gen_i.cxx +++ b/src/SMESH_I/SMESH_Gen_i.cxx @@ -5086,13 +5086,15 @@ Engines::ListOfData* SMESH_Gen_i::getModifiedData(CORBA::Long studyId) if(!aCORBAMesh->_is_nil()) { SMESH_Mesh_i* myImpl = dynamic_cast(GetServant(aCORBAMesh).in()); if (myImpl) { - CORBA::String_var objStr = GetORB()->object_to_string(anObj); - int id = myStudyContext->findId(string(objStr.in())); + //CORBA::String_var objStr = GetORB()->object_to_string(anObj); + //int id = myStudyContext->findId(string(objStr.in())); + CORBA::String_var objName = aSO->GetName(); SMESHDS_Mesh* mySMESHDSMesh = myImpl->GetImpl().GetMeshDS(); if (mySMESHDSMesh->NbNodes() > 0) { // write mesh data to med file aWriter.SetMesh(mySMESHDSMesh); - aWriter.SetMeshId(id); + //aWriter.SetMeshId(id); + aWriter.SetMeshName(objName.in()); aNumMeshes++; } else { MESSAGE("Mesh has zero nodes and can not be exported");