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
This commit is contained in:
Antonio Vazquez
2022-07-26 11:07:28 +02:00
parent c597d6cb64
commit 203e7ba332

View File

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