From: enk Date: Mon, 28 Feb 2005 11:57:48 +0000 (+0000) Subject: Fix on Bug PAL8263: Validity of the files exported by SMESH in MED2.2 format. X-Git-Tag: V2_2_1rc~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=409b861ea153ec9f8ed69ec02512a9c4d9730329;p=modules%2Fsmesh.git 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. --- 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; }