mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 08:50:35 +05:00
Bug PAL8331: REGRESSION import mesh in "MED 2.2" format.
In the process of family creation (with Id=0) we don't need in attribute description, it's specific of creation of MED2.2 (for family with Id=0).
This commit is contained in:
parent
6fae6dddb4
commit
f488d851d8
@ -193,10 +193,10 @@ list<DriverMED_FamilyPtr> DriverMED_Family::MakeFamilies
|
|||||||
aFamilies.push_back(aFreeVolumesFam);
|
aFamilies.push_back(aFreeVolumesFam);
|
||||||
}
|
}
|
||||||
|
|
||||||
// DriverMED_FamilyPtr aNullFam (new DriverMED_Family);
|
DriverMED_FamilyPtr aNullFam (new DriverMED_Family);
|
||||||
// aNullFam->SetId(0);
|
aNullFam->SetId(0);
|
||||||
// aNullFam->myType = SMDSAbs_All;
|
aNullFam->myType = SMDSAbs_All;
|
||||||
// aFamilies.push_back(aNullFam);
|
aFamilies.push_back(aNullFam);
|
||||||
|
|
||||||
return aFamilies;
|
return aFamilies;
|
||||||
}
|
}
|
||||||
@ -222,18 +222,21 @@ DriverMED_Family::GetFamilyInfo(const MED::PWrapper& theWrapper,
|
|||||||
}
|
}
|
||||||
|
|
||||||
aValue = aStr.str();
|
aValue = aStr.str();
|
||||||
|
/*
|
||||||
MED::TStringVector anAttrDescs (1, ""); // 1 attribute with empty description,
|
MED::TStringVector anAttrDescs (1, ""); // 1 attribute with empty description,
|
||||||
MED::TIntVector anAttrIds (1, myId); // Id=0,
|
MED::TIntVector anAttrIds (1, myId); // Id=0,
|
||||||
MED::TIntVector anAttrVals (1, myId); // Value=0
|
MED::TIntVector anAttrVals (1, myId); // Value=0
|
||||||
|
*/
|
||||||
|
|
||||||
MED::PFamilyInfo anInfo = theWrapper->CrFamilyInfo(theMeshInfo,
|
MED::PFamilyInfo anInfo = theWrapper->CrFamilyInfo(theMeshInfo,
|
||||||
aValue,
|
aValue,
|
||||||
myId,
|
myId,
|
||||||
myGroupNames,
|
myGroupNames);
|
||||||
|
/*
|
||||||
anAttrDescs,
|
anAttrDescs,
|
||||||
anAttrIds,
|
anAttrIds,
|
||||||
anAttrVals);
|
anAttrVals);
|
||||||
|
*/
|
||||||
|
|
||||||
// cout << endl;
|
// cout << endl;
|
||||||
// cout << "Groups: ";
|
// cout << "Groups: ";
|
||||||
|
Loading…
Reference in New Issue
Block a user