From 409b861ea153ec9f8ed69ec02512a9c4d9730329 Mon Sep 17 00:00:00 2001 From: enk Date: Mon, 28 Feb 2005 11:57:48 +0000 Subject: [PATCH] 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. --- src/DriverMED/DriverMED_Family.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/DriverMED/DriverMED_Family.cxx b/src/DriverMED/DriverMED_Family.cxx index 2115c4e8b..2c6a61719 100644 --- a/src/DriverMED/DriverMED_Family.cxx +++ b/src/DriverMED/DriverMED_Family.cxx @@ -193,10 +193,10 @@ list 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; } -- 2.39.2