← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] - PCBNEW - Undo for autoplacer

 

On 12/11/2011 08:40 PM, Guillaume Simard wrote:
> Hello,
>
> I have added an undo functionality to PCBNEW when the autoplacer is used either on a
> single (Auto place module) or multiple components (Auto place all modules, Auto place
> new modules, Auto place next module).
>
> Basically, an PICKED_ITEMS_LIST is populated through an ITEM_PICKER with only the items
> that are marked with MODULE_to_PLACE by the autoplacer.
>
> The list is then given to SaveCopyInUndoList to be added to the undo list.
>
>
> I will probably try to do the same for the autorouter and the move all/move new modules.
>
>
> -- 
> Guillaume Simard

Style looks OK to me, but I did not test the functionality.

Dick



References