gEDA-dev: [patch] PCB: remove unnecessary redraws when pasting from buffer

Igor2 igor2 at inno.bme.hu
Tue Aug 1 04:25:18 EDT 2006


Hi!

This patch drasticly speeds up pasting buffer with many
lines/polygons/arcs/elements. The diff is generated using the current CVS
version.

Regards,

Igor2
-------------- next part --------------
Index: copy.c
===================================================================
RCS file: /cvsroot/pcb/pcb/src/copy.c,v
retrieving revision 1.15
diff -r1.15 copy.c
190d189
<   Draw ();
214d212
<   Draw ();
234d231
<   Draw ();
252d248
<   Draw ();
272d267
<   Draw ();
304,305d298
<   if (didDraw)
<     Draw ();


More information about the geda-dev mailing list