[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: pcb.git: branch: master updated (c4df558415e977e406522bfce59c63e5518f4cfa)
The branch, master has been updated
via c4df558415e977e406522bfce59c63e5518f4cfa (commit)
from a354691f7088c80077658c26268ccbcdfe69356f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
=========
Summary
=========
src/action.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
=================
Commit Messages
=================
commit c4df558415e977e406522bfce59c63e5518f4cfa
Author: DJ Delorie <dj@xxxxxxxxxxx>
Commit: DJ Delorie <dj@xxxxxxxxxxx>
Fix File->Import for elements on back side.
Mirror pasted footprints when replacing back-side elements. Also
clear element cache when reloading the new footprint, to avoid getting a
stale pointer.
Closes-bug: lp-699331
:100644 100644 93c17a2... 20dbb0a... M src/action.c
=========
Changes
=========
commit c4df558415e977e406522bfce59c63e5518f4cfa
Author: DJ Delorie <dj@xxxxxxxxxxx>
Commit: DJ Delorie <dj@xxxxxxxxxxx>
Fix File->Import for elements on back side.
Mirror pasted footprints when replacing back-side elements. Also
clear element cache when reloading the new footprint, to avoid getting a
stale pointer.
Closes-bug: lp-699331
diff --git a/src/action.c b/src/action.c
index 93c17a2..20dbb0a 100644
--- a/src/action.c
+++ b/src/action.c
@@ -7082,6 +7082,8 @@ ActionElementList (int argc, char **argv, Coord x, Coord y)
er = ElementOrientation (e);
pe = PASTEBUFFER->Data->Element->data;
+ if (!FRONT (e))
+ MirrorElementCoordinates (PASTEBUFFER->Data, pe, pe->MarkY*2 - PCB->MaxHeight);
pr = ElementOrientation (pe);
mx = e->MarkX;
@@ -7105,6 +7107,7 @@ ActionElementList (int argc, char **argv, Coord x, Coord y)
}
/* Now reload footprint */
+ element_cache = NULL;
e = find_element_by_refdes (refdes);
old = ChangeElementText (PCB, PCB->Data, e, NAMEONPCB_INDEX, strdup (refdes));
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs