From 1cb94bb2fbdc908be55a27555a0eb5c5ac3558d5 Mon Sep 17 00:00:00 2001 From: Dan White Date: Sat, 25 Feb 2012 14:28:46 -0600 Subject: [PATCH] action.c: UpdatePackage() reloads from disk Clearing the footprint_hash from buffer.c causes subsequent calls to LoadFootprint... functions to pick up footprints from disk instead of from memory. --- src/action.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/action.c b/src/action.c index c075d10d..ae83d379 100644 --- a/src/action.c +++ b/src/action.c @@ -7229,6 +7229,9 @@ ActionUpdatePackage (int argc, char **argv, Coord x, Coord y) AFAIL (updatepackage); } + /* make sure to re-read footprints from disk */ + clear_footprint_hash (); + /* Select all elements for All mode */ if (fnid == F_All) SelectObjectByName (ELEMENT_TYPE, ".*", true); -- 2.11.4.GIT