mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0027575: Reading STEP file gives an empty result
Exception is raised during translation BSpline curve having only one unique knot. Protection for such case was added Added protection against exception during reading BSpline curve with number of control points equal to 0 Added protection against exception due to using null binder during writing XDE document Test case for issue #27575
This commit is contained in:
@@ -889,8 +889,9 @@ static Standard_Integer FindEntities (const Handle(Transfer_FinderProcess) &FP,
|
||||
seqRI.Append (aLocalItem);
|
||||
}
|
||||
}
|
||||
else
|
||||
else if(!TransientListBinder.IsNull())
|
||||
{
|
||||
|
||||
const Standard_Integer nb = TransientListBinder->NbTransients();
|
||||
for (Standard_Integer i=1; i<=nb; i++) {
|
||||
Handle(Standard_Transient) t = TransientListBinder->Transient(i);
|
||||
|
Reference in New Issue
Block a user