[Bf-blender-cvs] [9274bd457a2] blender-v2.92-release: Fix T85515: missing viewport update when toggling Hidden Wire

Brecht Van Lommel noreply at git.blender.org
Wed Feb 10 20:04:56 CET 2021


Commit: 9274bd457a251961557d5a132e31a5b0159c540c
Author: Brecht Van Lommel
Date:   Wed Feb 10 19:48:15 2021 +0100
Branches: blender-v2.92-release
https://developer.blender.org/rB9274bd457a251961557d5a132e31a5b0159c540c

Fix T85515: missing viewport update when toggling Hidden Wire

This is in the overlay popover but also affects shading.

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

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 8f3b254e6e1..f5ec0751015 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -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);



More information about the Bf-blender-cvs mailing list