[Bf-blender-cvs] [ab158cd00aa] master: Fix T69522: Render Region not refreshing Output Properties

Philipp Oeser noreply at git.blender.org
Thu Sep 5 10:16:06 CEST 2019


Commit: ab158cd00aa62979acddf257ebd63a8be83e3b4f
Author: Philipp Oeser
Date:   Thu Sep 5 09:57:36 2019 +0200
Branches: master
https://developer.blender.org/rBab158cd00aa62979acddf257ebd63a8be83e3b4f

Fix T69522: Render Region not refreshing Output Properties

setting/clearing render region uses ND_RENDER_OPTIONS notifier, but
listener was only refreshing RENDER and VIEWLAYER tabs in that case,
whereas the render region buttons are located in OUTPUT tab.

Reviewers: billreynish

Maniphest Tasks: T69522

Differential Revision: https://developer.blender.org/D5685

===================================================================

M	source/blender/editors/space_buttons/space_buttons.c

===================================================================

diff --git a/source/blender/editors/space_buttons/space_buttons.c b/source/blender/editors/space_buttons/space_buttons.c
index 23c224f5ae0..b26c3113fbd 100644
--- a/source/blender/editors/space_buttons/space_buttons.c
+++ b/source/blender/editors/space_buttons/space_buttons.c
@@ -364,6 +364,7 @@ static void buttons_area_listener(wmWindow *UNUSED(win),
       switch (wmn->data) {
         case ND_RENDER_OPTIONS:
           buttons_area_redraw(sa, BCONTEXT_RENDER);
+          buttons_area_redraw(sa, BCONTEXT_OUTPUT);
           buttons_area_redraw(sa, BCONTEXT_VIEW_LAYER);
           break;
         case ND_WORLD:



More information about the Bf-blender-cvs mailing list