XCAFDimTolObjects_DimensionFormVariance& theFV,
XCAFDimTolObjects_DimensionGrade& theG)
{
- Handle(TCollection_HAsciiString) aFormV = theLAF->FormVariance();
- Handle(TCollection_HAsciiString) aGrade = theLAF->Grade();
+ Handle(TCollection_HAsciiString) aFormV = theLAF->FormVariance().IsNull() ?
+ new TCollection_HAsciiString() :
+ theLAF->FormVariance();
+ Handle(TCollection_HAsciiString) aGrade = theLAF->Grade().IsNull() ?
+ new TCollection_HAsciiString() :
+ theLAF->Grade();
theFV = XCAFDimTolObjects_DimensionFormVariance_None;
Standard_Boolean aFound;
theHolle = Standard_False;
//=======================================================================
Standard_EXPORT void STEPControl_ActorRead::PostHealing(const Handle(Transfer_TransientProcess)& TP)
{
+ if (myShapesToHeal.IsEmpty())
+ return;
NCollection_Array1<Handle(ShapeProcess_ShapeContext)> aInfos(1, myShapesToHeal.Size());
NCollection_Array1<TopTools_DataMapOfShapeShape> aOrigToCopyMapArr(1, myShapesToHeal.Size());
NCollection_Array1<TopTools_DataMapOfShapeShape> aCopyToOrigMapArr(1, myShapesToHeal.Size());