if(!theIsBuild || *theIsDone)
return;
+ INITMSG(MYDEBUG, "BuildParts\n");
TTimerLog aTimerLog(MYTIMEDEBUG, "BuildParts");
TResultManager aResultManager(theResult);
TTransactionManager aTransactionManager(theStudy);
const VISU::PMesh& aMesh = aMeshMapIter->second;
MultiResult_i::TPartNames aPartNames = aMultiprObj.getParts();
+ BEGMSG(MYDEBUG, "aPartNames.size() = "<<aPartNames.size()<<"\n");
if(thePublishInStudy){
QString aComment = "Sub-parts: #";
const MultiResult_i::TPartName& aPartName = aPartNames[aPartID];
MultiResult_i::TPartName aMainPart = ExtractMainPart(aPartName);
aMainPart2SubPartNames[aMainPart].insert(aPartName);
+ BEGMSG(MYDEBUG, "aMainPart2SubPartNames['"<<aMainPart<<"'].insert('"<<aPartName<<"')\n");
}
for (size_t aPartID = 0 ; aPartID < aPartNames.size() ; aPartID++) {
aPartInfos[aFileInfo.fileName()] = aPartInfo;
aPartName2FileName[aPartInfo.myName] = aPartInfo.myFileName;
+ BEGMSG(MYDEBUG, "aPartName2FileName['"<<aPartInfo.myName<<"'] = '"<<aPartInfo.myFileName<<"'\n");
if(!thePublishInStudy)
continue;
aComment.latin1(),
true);
aPartName2Resolution[aPartInfo.myName] = aResolution;
+ BEGMSG(MYDEBUG, "aPartName2Resolution['"<<aPartInfo.myName<<"'] = '"<<aResoltutionsString<<"'\n");
}
}
continue;
MultiResult_i::TPartInfo aPartInfo = GetPartInfo(myMultiprObj, aPartName);
- if(aPartInfo.myMeshName == theMeshName)
+ if(true || aPartInfo.myMeshName == theMeshName) // To ignore theMeshName input parameter
aMeshParts.push_back(aPartName);
}
continue;
MultiResult_i::TPartInfo aPartInfo = GetPartInfo(myMultiprObj, aPartName);
- if(aPartInfo.myMeshName != theMeshName)
+ if(false || aPartInfo.myMeshName != theMeshName) // To ignore theMeshName input parameter
continue;
MultiResult_i::TResolutions aResolutions = VISU::GetResolutions(myMainPart2SubPartNames, thePartName);
VISU::Storable::TRestoringMap aRestoringMap;
aRestoringMap["myComment"] = "PART";
- aRestoringMap["myMeshName"] = theMeshName;
+ //aRestoringMap["myMeshName"] = theMeshName; // To ignore theMeshName input parameter
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); // To ignore theMeshName input parameter
VISU::TMeshMap::const_iterator aMeshIter = aMeshMap.begin();
if(aMeshIter == aMeshMap.end())
return;
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";