# HG changeset patch # User Thinker K.F. Li # Date 1222357478 -28800 # Node ID 0824f4804ee03766a9adecf8d7488ed6d281097d # Parent 52f7566777f9e1a670c6e6a2be68b8b521ea4388 Fix bug of broken coord_hide() and shape_hide(). Forget to check GEF_HIDDEN flag of shapes before drawing it. diff -r 52f7566777f9 -r 0824f4804ee0 src/redraw_man.c --- a/src/redraw_man.c Thu Sep 25 11:29:42 2008 +0800 +++ b/src/redraw_man.c Thu Sep 25 23:44:38 2008 +0800 @@ -848,7 +848,8 @@ child = NEXT_CHILD(child); } else { ASSERT(member != NULL); - if(is_geo_in_areas(member, n_areas, areas)) { + if((!(member->flags & GEF_HIDDEN)) && + is_geo_in_areas(member, n_areas, areas)) { draw_shape(rdman, canvas, member->shape); dirty = 1; }