]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To use "_maitre.med" suffix instead of "_grains_maitre.med" for recognition of MULTIP...
authorapo <apo@opencascade.com>
Mon, 15 Oct 2007 10:30:32 +0000 (10:30 +0000)
committerapo <apo@opencascade.com>
Mon, 15 Oct 2007 10:30:32 +0000 (10:30 +0000)
src/VISU_I/VISU_MultiResult_i.cc

index 7639c4e230f9e4999f32e336ea4fb7d259b1dcee..25097a00a97b74c19c9d724d7bcf9ce7ff664ed1 100644 (file)
@@ -550,7 +550,7 @@ VISU::MultiResult_i
 {
   QFileInfo aFileInfo(theFileName);
   QString aTargetFileName = aFileInfo.filePath();
-  if(aTargetFileName.endsWith("_grains_maitre.med")){
+  if(aTargetFileName.endsWith("_maitre.med")){
     myMultiprObj.create(theFileName);
     if (myMultiprObj.isValidDistributedMEDFile()) {
       aTargetFileName = myMultiprObj.getSequentialMEDFilename();
@@ -749,7 +749,7 @@ VISU::MultiResult_i
   VISU::TSubString(aPrefix, aSuffix) = "";
   BEGMSG(MYDEBUG, "aPrefix = '"<<aPrefix<<"'\n");    
   
-  std::string aMultiFileName(aPrefix + "_grains_maitre.med" + aSuffix);
+  std::string aMultiFileName(aPrefix + "_maitre.med" + aSuffix);
   BEGMSG(MYDEBUG, "aMultiFileName = '"<<aMultiFileName<<"'\n");    
 
   {