← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Fix handle ZoneConnection enum in python scripting agains BZR6098

 

Le 18/08/2015 08:38, LordBlick a écrit :
> Attached, tested(on PLD Linux) patch implements the following changes:
> - not finished python scripting issue - brings pad.GetZoneConnection()
> and in
> example pad.SetZoneConnection(pcbnew.PAD_ZONE_CONN_FULL) to full workable.
> - cleanup namespace pretty artistic disorder in enum ZoneConnection in
> pcbnew/zones.h to self-explained names unification:
>      PAD_ZONE_CONN_INHERITED = -1
>      PAD_ZONE_CONN_NONE
>      PAD_ZONE_CONN_THERMAL
>      PAD_ZONE_CONN_FULL
>      PAD_ZONE_CONN_THT_THERMAL
> There is no influence for instability after applying.

Committed. Thanks.

Be careful with this kind of changes: it can break existing Python
scripts like wizards.
(This is not the case for this change)

-- 
Jean-Pierre CHARRAS


Follow ups

References