Fix on Bug PAL8263: Validity of the files exported by SMESH in MED2.2 format.

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.
This commit is contained in:
enk 2005-02-28 11:55:53 +00:00
parent 935adb05a1
commit 971d053b24

View 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;
}