From 606096b54860e7bd1bf27dee4c56f737ea1d4f67 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Tue, 9 Oct 2018 08:39:21 +0200 Subject: [PATCH] Gerbview: fix a overzealous wxASSERT Fixes: lp:1796744 https://bugs.launchpad.net/kicad/+bug/1796744 --- gerbview/am_primitive.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gerbview/am_primitive.cpp b/gerbview/am_primitive.cpp index c0ac2b49f7..29e3b56091 100644 --- a/gerbview/am_primitive.cpp +++ b/gerbview/am_primitive.cpp @@ -67,7 +67,7 @@ bool AM_PRIMITIVE::IsAMPrimitiveExposureOn( const GERBER_DRAW_ITEM* aParent ) co * In a aperture macro shape, a basic primitive with exposure off is a hole in the shape * it is NOT a negative shape */ - wxASSERT( params.size() && params[0].IsImmediate() ); + wxASSERT( params.size() ); switch( primitive_id ) {