[Bf-blender-cvs] [203e7ba3320] master: GPencil: Update curve handle display after change overlay option

Antonio Vazquez noreply at git.blender.org
Tue Jul 26 11:07:32 CEST 2022


Commit: 203e7ba3320e7ed978ec094efa0c1b22137fb12a
Author: Antonio Vazquez
Date:   Tue Jul 26 11:07:28 2022 +0200
Branches: master
https://developer.blender.org/rB203e7ba3320e7ed978ec094efa0c1b22137fb12a

GPencil: Update curve handle display after change overlay option

The handles were not updated after changing the settings.

This is a partial fix of T99984

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

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 e67d840eeac..5cee2ca00a3 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -4554,7 +4554,7 @@ static void rna_def_space_view3d_overlay(BlenderRNA *brna)
   RNA_def_property_enum_items(prop, rna_enum_curve_display_handle_items);
   RNA_def_property_ui_text(
       prop, "Display Handles", "Limit the display of curve handles in edit mode");
-  RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL);
+  RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, "rna_GPencil_update");
 
   prop = RNA_def_property(srna, "show_curve_normals", PROP_BOOLEAN, PROP_NONE);
   RNA_def_property_boolean_sdna(prop, NULL, "overlay.edit_flag", V3D_OVERLAY_EDIT_CU_NORMALS);



More information about the Bf-blender-cvs mailing list