[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: pcb.git: branch: master updated (818ba7247eea5c2b137e55ed32011d11fb15cc7c)
The branch, master has been updated
via 818ba7247eea5c2b137e55ed32011d11fb15cc7c (commit)
from 6eef4d15a766c0c86c12a6980be27342df96ac6a (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/buffer.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
=================
Commit Messages
=================
commit 818ba7247eea5c2b137e55ed32011d11fb15cc7c
Author: Peter Clifton <peter@xxxxxxxxxxxxxxxxxxxxxxxxx>
Commit: Peter Clifton <peter@xxxxxxxxxxxxxxxxxxxxxxxxx>
Update the crosshair constraints after mirroring or rotating the buffer.
Avoids a bug where the paste location of the mirrored or rotated buffer
contents are improperly constrained based upon their old bounding box.
:100644 100644 0394f2f... d311420... M src/buffer.c
=========
Changes
=========
commit 818ba7247eea5c2b137e55ed32011d11fb15cc7c
Author: Peter Clifton <peter@xxxxxxxxxxxxxxxxxxxxxxxxx>
Commit: Peter Clifton <peter@xxxxxxxxxxxxxxxxxxxxxxxxx>
Update the crosshair constraints after mirroring or rotating the buffer.
Avoids a bug where the paste location of the mirrored or rotated buffer
contents are improperly constrained based upon their old bounding box.
diff --git a/src/buffer.c b/src/buffer.c
index 0394f2f..d311420 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1226,6 +1226,7 @@ RotateBuffer (BufferType *Buffer, BYTE Number)
/* finally the origin and the bounding box */
ROTATE (Buffer->X, Buffer->Y, Buffer->X, Buffer->Y, Number);
RotateBoxLowLevel (&Buffer->BoundingBox, Buffer->X, Buffer->Y, Number);
+ SetCrosshairRangeToBuffer ();
}
static void
@@ -1360,6 +1361,7 @@ FreeRotateBuffer (BufferType *Buffer, Angle angle)
ENDALL_LOOP;
SetBufferBoundingBox (Buffer);
+ SetCrosshairRangeToBuffer ();
}
@@ -1475,6 +1477,7 @@ MirrorBuffer (BufferType *Buffer)
}
ENDALL_LOOP;
SetBufferBoundingBox (Buffer);
+ SetCrosshairRangeToBuffer ();
}
@@ -1601,6 +1604,7 @@ SwapBuffer (BufferType *Buffer)
}
}
SetBufferBoundingBox (Buffer);
+ SetCrosshairRangeToBuffer ();
}
/* ----------------------------------------------------------------------
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs