Fix T85515: missing viewport update when toggling Hidden Wire

This is in the overlay popover but also affects shading.
This commit is contained in:
Brecht Van Lommel 2021-02-10 19:48:15 +01:00
parent e03cfc2374
commit 9274bd457a
Notes: blender-bot 2023-02-13 19:37:41 +01:00
Referenced by commit 7334c481c0, Fix T86175: Missing viewport update when toggling HDRI preview
Referenced by commit b20872d36e, Fix T85543: Object Types Visibility missing shading notifier
Referenced by issue #85515, Edit mode. Hidden wire shading late update
1 changed files with 1 additions and 1 deletions

View File

@ -3990,7 +3990,7 @@ static void rna_def_space_view3d_overlay(BlenderRNA *brna)
prop = RNA_def_property(srna, "show_occlude_wire", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "overlay.edit_flag", V3D_OVERLAY_EDIT_OCCLUDE_WIRE);
RNA_def_property_ui_text(prop, "Hidden Wire", "Use hidden wireframe display");
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);
prop = RNA_def_property(srna, "show_face_normals", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "overlay.edit_flag", V3D_OVERLAY_EDIT_FACE_NORMALS);