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
This commit is contained in:
Philipp Oeser 2021-02-11 11:48:53 +01:00
parent 52cfc620c8
commit b20872d36e

View file

@ -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);
}
}