diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2018-05-09 14:30:27 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2018-05-09 14:38:06 +0300 |
commit | c0667c2f35a1be4c56fac21d48b3a19bd460cb8d (patch) | |
tree | c5bd5dc2e9ecb5c70282a4882d7096471f480267 /source/blender/editors/space_view3d | |
parent | 56d65719b3d307d01007bd3c1ed490b5f3396adf (diff) |
T55008: Migrating RE-Collection data to Scene data
in Scene DNA is available in scene.display New DNA Struct DisplayData
Added RNA (scene.display).
We already have scene.display_settings which contains non viewpoert
specific color management settings. I did not merge those two.
Patch should be in line with the ideas that @brecht wrote in T55008.
As I am not in detail aware of the decisions that have been made for the override feature I want a short review if it is in line with the plans.
Reviewers: brecht, dfelinto
Reviewed By: brecht
Subscribers: brecht
Tags: #code_quest, #bf_blender_2.8
Differential Revision: https://developer.blender.org/D3290
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r-- | source/blender/editors/space_view3d/space_view3d.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/editors/space_view3d/space_view3d.c b/source/blender/editors/space_view3d/space_view3d.c index cd51474accf..d9ba59de887 100644 --- a/source/blender/editors/space_view3d/space_view3d.c +++ b/source/blender/editors/space_view3d/space_view3d.c @@ -1082,10 +1082,6 @@ static void view3d_main_region_message_subscribe( extern StructRNA RNA_ViewLayerEngineSettingsEevee; WM_msg_subscribe_rna_anon_type(mbus, ViewLayerEngineSettingsEevee, &msg_sub_value_region_tag_redraw); } - else if (STREQ(scene->r.engine, RE_engine_id_BLENDER_WORKBENCH)) { - extern StructRNA RNA_ViewLayerEngineSettingsWorkbench; - WM_msg_subscribe_rna_anon_type(mbus, ViewLayerEngineSettingsWorkbench, &msg_sub_value_region_tag_redraw); - } #ifdef WITH_CLAY_ENGINE else if (STREQ(scene->r.engine, RE_engine_id_BLENDER_CLAY)) { extern StructRNA RNA_ViewLayerEngineSettingsClay; @@ -1093,6 +1089,8 @@ static void view3d_main_region_message_subscribe( } #endif + WM_msg_subscribe_rna_anon_type(mbus, SceneDisplay, &msg_sub_value_region_tag_redraw); + if (workspace->tool.spacetype == SPACE_VIEW3D) { wmMsgSubscribeValue msg_sub_value_region_tag_refresh = { .owner = ar, |