mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0026026: XtControl_Reader hangs when processing specific data
Small fix for a specific case (was missing).
This commit is contained in:
@@ -402,6 +402,11 @@ static int pipe_OCC9 (Draw_Interpretor& di,
|
||||
aPipe.Perform(Standard_True/*, Standard_True*/);
|
||||
}
|
||||
|
||||
if (!aPipe.IsDone()) {
|
||||
di << "GeomFill_Pipe cannot make a surface\n";
|
||||
return 1;
|
||||
}
|
||||
|
||||
Handle(Geom_Surface) aSurf = aPipe.Surface();
|
||||
|
||||
DrawTrSurf::Set(a[1], aSurf);
|
||||
|
Reference in New Issue
Block a user