diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-11-02 03:56:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-11-02 03:58:56 +0300 |
commit | 86b2f8ef38c0cbcc355f19b49b3f7a085bfda69a (patch) | |
tree | 9e4a74a60d7d89e1aa6230df391012473dabef1e /source/blender/editors/space_buttons/space_buttons.c | |
parent | 2d6a10615d823d2537eed5a91d3bc24df9aa2106 (diff) |
UI: add render output tab to properties editor
Diffstat (limited to 'source/blender/editors/space_buttons/space_buttons.c')
-rw-r--r-- | source/blender/editors/space_buttons/space_buttons.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/editors/space_buttons/space_buttons.c b/source/blender/editors/space_buttons/space_buttons.c index 6f33a2c84c6..a4fc8fbdcc2 100644 --- a/source/blender/editors/space_buttons/space_buttons.c +++ b/source/blender/editors/space_buttons/space_buttons.c @@ -154,6 +154,9 @@ static void buttons_main_region_layout_properties(const bContext *C, SpaceButs * case BCONTEXT_RENDER: contexts[0] = "render"; break; + case BCONTEXT_OUTPUT: + contexts[0] = "output"; + break; case BCONTEXT_VIEW_LAYER: contexts[0] = "view_layer"; break; @@ -401,7 +404,7 @@ static void buttons_header_region_message_subscribe( * where one has no active object, so that available contexts changes. */ WM_msg_subscribe_rna_anon_prop(mbus, Window, view_layer, &msg_sub_value_region_tag_redraw); - if (!ELEM(sbuts->mainb, BCONTEXT_RENDER, BCONTEXT_SCENE, BCONTEXT_WORLD)) { + if (!ELEM(sbuts->mainb, BCONTEXT_RENDER, BCONTEXT_OUTPUT, BCONTEXT_SCENE, BCONTEXT_WORLD)) { WM_msg_subscribe_rna_anon_prop(mbus, ViewLayer, name, &msg_sub_value_region_tag_redraw); } |