X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FDrawTrSurf%2FDrawTrSurf.cxx;h=7acc396812a81f13ae2a615a6282d0f0715fb89a;hb=364c88864bef89b644d5b3e07e506866525b10e3;hpb=ce1c28b8b47e0f055703370949864ed00516a57b diff --git a/src/DrawTrSurf/DrawTrSurf.cxx b/src/DrawTrSurf/DrawTrSurf.cxx index adba8f4511..7acc396812 100644 --- a/src/DrawTrSurf/DrawTrSurf.cxx +++ b/src/DrawTrSurf/DrawTrSurf.cxx @@ -284,7 +284,7 @@ static Standard_Integer drawpoles(Draw_Interpretor&, } } - if ( n<2) return 1; + if ( n<2) return 0; Handle(DrawTrSurf_BezierSurface) BZS; BZS = GetBezierSurface(a[1]);