Gerbview: fix a overzealous wxASSERT
Fixes: lp:1796744 https://bugs.launchpad.net/kicad/+bug/1796744
This commit is contained in:
parent
f11cb736e5
commit
606096b548
|
@ -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
|
* In a aperture macro shape, a basic primitive with exposure off is a hole in the shape
|
||||||
* it is NOT a negative shape
|
* it is NOT a negative shape
|
||||||
*/
|
*/
|
||||||
wxASSERT( params.size() && params[0].IsImmediate() );
|
wxASSERT( params.size() );
|
||||||
|
|
||||||
switch( primitive_id )
|
switch( primitive_id )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue