Merged changes in the trunk up to revision 52690.
[blender.git] / source / blender / editors / space_buttons / space_buttons.c
index 7d2374738ef6db6174f93f97c6ea22e13a14bc9f..95a5bbdf5c857b886f2b9dc14df54dbe1ed28cb6 100644 (file)
@@ -300,6 +300,7 @@ static void buttons_area_listener(ScrArea *sa, wmNotifier *wmn)
                                        buttons_area_redraw(sa, BCONTEXT_PHYSICS);
                                case ND_SHADING:
                                case ND_SHADING_DRAW:
+                               case ND_SHADING_LINKS:
                                        /* currently works by redraws... if preview is set, it (re)starts job */
                                        sbuts->preview = 1;
                                        break;
@@ -322,6 +323,7 @@ static void buttons_area_listener(ScrArea *sa, wmNotifier *wmn)
                        switch (wmn->data) {
                                case ND_SHADING:
                                case ND_SHADING_DRAW:
+                               case ND_SHADING_LINKS:
                                case ND_NODES:
                                        /* currently works by redraws... if preview is set, it (re)starts job */
                                        sbuts->preview = 1;