Patch #31755: fix missing redraw in space_buttons when grouping objects (CTRL+G)
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 18 Jun 2012 17:07:26 +0000 (17:07 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 18 Jun 2012 17:07:26 +0000 (17:07 +0000)
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!

source/blender/editors/space_buttons/space_buttons.c

index e102abe..3322949 100644 (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;