[Bf-blender-cvs] [b20872d36eb] blender-v2.92-release: Fix T85543: Object Types Visibility missing shading notifier

Philipp Oeser noreply at git.blender.org
Thu Feb 11 12:34:03 CET 2021


Commit: b20872d36ebcf8777b8a6970425ebbdd81eac29d
Author: Philipp Oeser
Date:   Thu Feb 11 11:48:53 2021 +0100
Branches: blender-v2.92-release
https://developer.blender.org/rBb20872d36ebcf8777b8a6970425ebbdd81eac29d

Fix T85543: Object Types Visibility missing shading notifier

Caused by rB0f95f51361d7.

Similar to T85515, T84717 and their related fixes.
In this case, add missing shading notifier as in rB9274bd457a25.

Maniphest Tasks: T85543

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

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

M	source/blender/makesrna/intern/rna_space.c

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

diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c
index f5ec0751015..251845ee5b0 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -4636,7 +4636,7 @@ static void rna_def_space_view3d(BlenderRNA *brna)
         RNA_def_property_boolean_negative_sdna(
             prop, NULL, view_mask_member[mask_index], info[type_index].type_mask);
         RNA_def_property_ui_text(prop, info[type_index].name, "");
-        RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL);
+        RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D | NS_VIEW3D_SHADING, NULL);
       }
     }



More information about the Bf-blender-cvs mailing list