From f219e81f3728b1b82c2936bd1366c61c8adec7e2 Mon Sep 17 00:00:00 2001 From: apo Date: Mon, 19 Nov 2007 12:27:41 +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. --- src/VISU_I/VISU_MultiResult_i.cc | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/VISU_I/VISU_MultiResult_i.cc b/src/VISU_I/VISU_MultiResult_i.cc index ce2d5d78..f99d8ffd 100644 --- a/src/VISU_I/VISU_MultiResult_i.cc +++ b/src/VISU_I/VISU_MultiResult_i.cc @@ -284,6 +284,7 @@ namespace VISU if(!theIsBuild || *theIsDone) return; + INITMSG(MYDEBUG, "BuildParts\n"); TTimerLog aTimerLog(MYTIMEDEBUG, "BuildParts"); TResultManager aResultManager(theResult); TTransactionManager aTransactionManager(theStudy); @@ -295,6 +296,7 @@ namespace VISU const VISU::PMesh& aMesh = aMeshMapIter->second; MultiResult_i::TPartNames aPartNames = aMultiprObj.getParts(); + BEGMSG(MYDEBUG, "aPartNames.size() = "<GetMeshMap(); - //VISU::TMeshMap::const_iterator aMeshIter = aMeshMap.find(theMeshName); + //VISU::TMeshMap::const_iterator aMeshIter = aMeshMap.find(theMeshName); // To ignore theMeshName input parameter VISU::TMeshMap::const_iterator aMeshIter = aMeshMap.begin(); if(aMeshIter == aMeshMap.end()) return; @@ -937,6 +942,9 @@ VISU::MultiResult_i else aFatherEntry = Result_i::GetEntry(aRestoringMap); + if ( aFatherEntry == "" ) + return; + std::string anIconName = "ICON_MULTIPR_VIEW_HIDE"; if(theResolution == VISU::Result::FULL) anIconName = "ICON_MULTIPR_VIEW_FULL"; -- 2.39.2