From: apo Date: Wed, 24 Oct 2007 06:58:21 +0000 (+0000) Subject: Because of since now, any part of a destributed MED file can have its own mesh name... X-Git-Tag: mergeto_BR_Dev_For_4_0_29Oct07~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d9fbd13992356e8fbe080ea7c4c521d8f6de71da;p=modules%2Fvisu.git Because of since now, any part of a destributed MED file can have its own mesh name, there appear necessity to provide a way to ignore the mesh name or to force it as an external parameter. So, the mesh name of the given parts of destributed MED file is ignored. As, result all functionality which deals with the MULTIPR "Parts" works for the only first mesh in the MED file. --- diff --git a/src/VISU_I/VISU_MultiResult_i.cc b/src/VISU_I/VISU_MultiResult_i.cc index 25097a00..8894cb93 100644 --- a/src/VISU_I/VISU_MultiResult_i.cc +++ b/src/VISU_I/VISU_MultiResult_i.cc @@ -912,7 +912,8 @@ VISU::MultiResult_i aRestoringMap["myName"] = thePartName; const VISU::TMeshMap& aMeshMap = Result_i::GetInput()->GetMeshMap(); - VISU::TMeshMap::const_iterator aMeshIter = aMeshMap.find(theMeshName); + //VISU::TMeshMap::const_iterator aMeshIter = aMeshMap.find(theMeshName); + VISU::TMeshMap::const_iterator aMeshIter = aMeshMap.begin(); if(aMeshIter == aMeshMap.end()) return; @@ -1095,7 +1096,7 @@ VISU::MultiResult_i int aRes = false; std::string anErrorMessage("empty mesh"); try { - INITMSG(MYDEBUG, "theMeshName = '"<