action.c: new UpdatePackage(Selected|All)
commitf76ffa11df19e97d019ae492bff3f0cd62f3c1c6
authorDan White <dan@whiteaudio.com>
Sat, 25 Feb 2012 13:52:03 +0000 (25 07:52 -0600)
committerDan White <dan@whiteaudio.com>
Thu, 29 Mar 2012 16:11:21 +0000 (29 11:11 -0500)
treed3a75eb7314da02a516e1fc68ddd5e50057ad795
parentcd98c44274b4f43e75aed33f08f68824399364ec
action.c: new UpdatePackage(Selected|All)

Action will attempt to update the selected packages to use the footprint
in the currently-loaded Library instead of from the .pcb file.

Assumes the footprint name (newlib filename) to load is contained in the
current element's "Desc" field (internally as: DESCRIPTION_NAME(element)).

The new footprint's mark is placed at the same location and in the same
orientation as the old footprint.  The element's name, refdes, and value are
preserved.  NO OTHER CHECKING is done (e.g. number of pins).

Reports and does not touch missing footprints.
src/action.c