Gerbview: fix a overzealous wxASSERT

Fixes: lp:1796744
https://bugs.launchpad.net/kicad/+bug/1796744
This commit is contained in:
jean-pierre charras 2018-10-09 08:39:21 +02:00
parent f11cb736e5
commit 606096b548
1 changed files with 1 additions and 1 deletions

View File

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