[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



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
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 ();

_______________________________________________
geda-dev mailing list
geda-dev@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev