Patch #31755: fix missing redraw in space_buttons when grouping objects (CTRL+G)

When you group objects with CTRL+G and have the properties
space --> object tab --> groups panel visible there is a redraw
missing.

Patch by Philipp Oeser. Thanks!
This commit is contained in:
Sergey Sharybin
2012-06-18 17:07:26 +00:00
parent 0d89607899
commit c83805139d

View File

@@ -333,6 +333,9 @@ static void buttons_area_listener(ScrArea *sa, wmNotifier *wmn)
buttons_area_redraw(sa, BCONTEXT_DATA);
sbuts->preview = 1;
break;
case NC_GROUP:
buttons_area_redraw(sa, BCONTEXT_OBJECT);
break;
case NC_BRUSH:
buttons_area_redraw(sa, BCONTEXT_TEXTURE);
break;