From d9fbd13992356e8fbe080ea7c4c521d8f6de71da Mon Sep 17 00:00:00 2001 From: apo Date: Wed, 24 Oct 2007 06:58:21 +0000 Subject: [PATCH] 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. --- src/VISU_I/VISU_MultiResult_i.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 = '"<