mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-16 10:08:36 +03:00
0032980: Data Exchange - STEP import produce a crash
Check on null for loop added
This commit is contained in:
parent
f035e0718b
commit
dec56592dd
@ -545,7 +545,10 @@ void StepToTopoDS_TranslateFace::Init(const Handle(StepShape_FaceSurface)& FS,
|
|||||||
#endif
|
#endif
|
||||||
FaceBound = FS->BoundsValue(i);
|
FaceBound = FS->BoundsValue(i);
|
||||||
Loop = FaceBound->Bound();
|
Loop = FaceBound->Bound();
|
||||||
|
if (Loop.IsNull())
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
// ------------------------
|
// ------------------------
|
||||||
// The Loop is a VertexLoop
|
// The Loop is a VertexLoop
|
||||||
// ------------------------
|
// ------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user