# HG changeset patch # User Thinker K.F. Li # Date 1261037615 -28800 # Node ID f106b57b86608ed1763392b1ede620a8c4df5427 # Parent 7a1b17ebb3b42c7a34724a07c1fceccb521041af Skip coords that is not cached when add coords into zeroing_coords list. If we don't skip normal coords, non-cached, here, cached coords that own one or more non-cached ancestors would be fail to add into redraw_man_t::zeroing_coords list. diff -r 7a1b17ebb3b4 -r f106b57b8660 src/redraw_man.c --- a/src/redraw_man.c Thu Dec 17 16:09:46 2009 +0800 +++ b/src/redraw_man.c Thu Dec 17 16:13:35 2009 +0800 @@ -1534,6 +1534,9 @@ /* Add all marked coords into redraw_man_t::zeroing_coords list */ FOR_COORDS_PREORDER(rdman->root_coord, coord) { + if(!coord_get_flags(coord, COF_OWN_CANVAS)) + continue; /* skip coords that is not cached */ + if(!coord_get_flags(coord, COF_TEMP_MARK)) { preorder_coord_skip_subtree(coord); continue;