← Back to team overview

kicad-developers team mailing list archive

Re: [FEATURE] Add keepout areas in footprints

 

On 10/19/2017 04:32 PM, jp charras wrote:
[snip]
> Hi Orson,
> 
> Could you have a look into this patch?
> It fixes the issue when a change is committed with a item belonging a footprint.
> 
> But I do not have very good knowledge of COMMIT classes.

Hi Jean-Pierre,

Thank you for looking into the problem. In the proposed patch
BOARD_COMMIT will try to save the item parent even for items that do not
belong to modules (e.g. tracks, vias), ending up with the whole board
stored in the undo buffer.

I would rather take advantage of BOARD_COMMIT::m_editModules field to
determine whether the commit is created by the footprint editor. Then
the check should be valid, but still the code needs to be tested to be
sure it works as expected.

If you can wait, I can wrap up a fix by tomorrow morning.

Regards,
Orson

Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups

References