Mercurial > MadButterfly
diff src/redraw_man.c @ 114:1909d53071ab
Check if a coord dirty before dirty it
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sun, 14 Sep 2008 01:10:49 +0800 |
parents | 98c83441d7d6 |
children | 3895d2224e67 |
line wrap: on
line diff
--- a/src/redraw_man.c Sun Sep 14 01:04:40 2008 +0800 +++ b/src/redraw_man.c Sun Sep 14 01:10:49 2008 +0800 @@ -392,6 +392,8 @@ for(child = coord; child != NULL; child = preorder_coord_subtree(coord, child)) { + if(child->flags & COF_DIRTY) + continue; make_sure_dirty_coords(rdman); rdman->dirty_coords[rdman->n_dirty_coords++] = child;