1
0
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:
anv
2016-12-08 16:24:34 +03:00
committed by apn
parent 851f870162
commit a8b5267725
9 changed files with 77 additions and 27 deletions

View File

@@ -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);