From: pdn Date: Thu, 16 Oct 2014 10:24:19 +0000 (+0400) Subject: 0007570: Exception in ShapeFix_Wireframe::FixSmallEdges X-Git-Tag: V6_8_0~106 X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff_plain;h=c60370656c3ff59732159cf2b12be992de1ebad8 0007570: Exception in ShapeFix_Wireframe::FixSmallEdges Exception fixed by checking if subshape removed completely. Test-case for issue #7570 --- diff --git a/src/QABugs/QABugs_19.cxx b/src/QABugs/QABugs_19.cxx index 54aa72baef..24dbedd943 100755 --- a/src/QABugs/QABugs_19.cxx +++ b/src/QABugs/QABugs_19.cxx @@ -2861,6 +2861,27 @@ static Standard_Integer OCC25202 ( Draw_Interpretor& theDI, return 0; } +#include +//======================================================================= +//function : OCC7570 +//purpose : +//======================================================================= +static Standard_Integer OCC7570 (Draw_Interpretor& di, Standard_Integer n, const char** a) +{ + if (n != 2) { + di<<"Usage: "<