]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix on Bug PAL8263: Validity of the files exported by SMESH in MED2.2 format.
authorenk <enk@opencascade.com>
Mon, 28 Feb 2005 11:55:53 +0000 (11:55 +0000)
committerenk <enk@opencascade.com>
Mon, 28 Feb 2005 11:55:53 +0000 (11:55 +0000)
By the fix we don't write to MED file the family with ID equal to zero, because MED2.2 use this ID for internal needs.
We test our fix with native mdump executable.

src/DriverMED/DriverMED_Family.cxx

index 2115c4e8bfce0eac2672f2c86d89deae9442c4a8..2c6a61719976edcf136e0b49a9f8295690753b4c 100644 (file)
@@ -193,10 +193,10 @@ list<DriverMED_FamilyPtr> DriverMED_Family::MakeFamilies
     aFamilies.push_back(aFreeVolumesFam);
   }
 
-  DriverMED_FamilyPtr aNullFam (new DriverMED_Family);
-  aNullFam->SetId(0);
-  aNullFam->myType = SMDSAbs_All;
-  aFamilies.push_back(aNullFam);
+//   DriverMED_FamilyPtr aNullFam (new DriverMED_Family);
+//   aNullFam->SetId(0);
+//   aNullFam->myType = SMDSAbs_All;
+//   aFamilies.push_back(aNullFam);
 
   return aFamilies;
 }