diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2022-07-26 12:07:28 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2022-07-26 12:07:28 +0300 |
commit | 203e7ba3320e7ed978ec094efa0c1b22137fb12a (patch) | |
tree | 4232b77d575f0f010a011be89bd5071d8d100a0e /source/blender/makesrna/intern | |
parent | c597d6cb6477aeddc539eeff596ade75a631dfc9 (diff) |
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
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r-- | source/blender/makesrna/intern/rna_space.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |