From 11ddcd8e9b077975587e1c46339b54693e746c9f Mon Sep 17 00:00:00 2001 From: dickelbeck Date: Tue, 22 Jan 2008 20:38:43 +0000 Subject: [PATCH] commented out a troublesome assert --- polygon/PolyLine.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/polygon/PolyLine.cpp b/polygon/PolyLine.cpp index 31fc1d7ae2..008e94aba2 100644 --- a/polygon/PolyLine.cpp +++ b/polygon/PolyLine.cpp @@ -1117,7 +1117,11 @@ void CPolyLine::Hatch() nloops++; a += PCBU_PER_MIL/100; } while( npts%2 != 0 && nloops < 3 ); + +/* DICK 1/22/08: this was firing repeatedly on me, needed to comment out to get + my work done: wxASSERT( npts%2==0 ); // odd number of intersection points, error +*/ // sort points in order of descending x (if more than 2) if( npts>2 )