Mercurial > MadButterfly
diff src/redraw_man.c @ 811:5aca6024b147
subtree of root coord can not be skept
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Thu, 02 Sep 2010 11:00:30 +0800 |
parents | 01b514800fbe |
children | 4badbfa8f386 |
line wrap: on
line diff
--- a/src/redraw_man.c Thu Sep 02 10:59:02 2010 +0800 +++ b/src/redraw_man.c Thu Sep 02 11:00:30 2010 +0800 @@ -1644,7 +1644,7 @@ /* Add all marked coords into redraw_man_t::zeroing_coords list */ FOR_COORDS_PREORDER(rdman->root_coord, coord) { - if(!coord_is_cached(coord)) + if(!coord_is_cached(coord) || coord_is_root(coord)) continue; /* skip coords that is not cached */ if(!coord_get_flags(coord, COF_TEMP_MARK)) {