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

gEDA-cvs: gaf.git: branch: master updated (1.5.0-20080706-103-g25c4e8e)



The branch, master has been updated
       via  25c4e8e0a45dbe9abe664be23240eafd903e7814 (commit)
      from  675738b3b7a0c37e3511297040c3abc59619dd0c (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
=========

 gschem/src/o_text.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


=================
 Commit Messages
=================

commit 25c4e8e0a45dbe9abe664be23240eafd903e7814
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Fri Aug 15 11:26:26 2008 +0100

    Check toplevel->DONT_REDRAW before redrawing text
    
    There is no point in trying to draw text if it is not wanted on screen.
    Rendering of the underlying line-segments would just be stopped anyway
    in o_line_draw(), where there is also such a test.

:100644 100644 de4fb64... 3b1677f... M	gschem/src/o_text.c

=========
 Changes
=========

commit 25c4e8e0a45dbe9abe664be23240eafd903e7814
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Fri Aug 15 11:26:26 2008 +0100

    Check toplevel->DONT_REDRAW before redrawing text
    
    There is no point in trying to draw text if it is not wanted on screen.
    Rendering of the underlying line-segments would just be stopped anyway
    in o_line_draw(), where there is also such a test.

diff --git a/gschem/src/o_text.c b/gschem/src/o_text.c
index de4fb64..3b1677f 100644
--- a/gschem/src/o_text.c
+++ b/gschem/src/o_text.c
@@ -130,7 +130,8 @@ void o_text_draw(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current)
   g_return_if_fail (o_current->type == OBJ_TEXT);
   g_return_if_fail (o_current->text != NULL);
 
-  if (o_current->visibility == INVISIBLE && !toplevel->show_hidden_text) {
+  if (toplevel->DONT_REDRAW == 1 ||
+      (o_current->visibility == INVISIBLE && !toplevel->show_hidden_text)) {
     return;
   }
 




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