Fix T103376: Grease pencil frames selected from python are not updated in the dopesheet

Differential Revision: https://developer.blender.org/D16832
This commit is contained in:
Amélie Fondevilla 2022-12-21 11:54:44 +01:00
parent cef5841e12
commit 0bcfe2788d
Notes: blender-bot 2023-02-14 06:37:09 +01:00
Referenced by issue #103376, Grease pencil frames selected from python are not updated in the dopesheet
1 changed files with 1 additions and 0 deletions

View File

@ -1825,6 +1825,7 @@ static void rna_def_gpencil_frame(BlenderRNA *brna)
prop = RNA_def_property(srna, "select", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_FRAME_SELECT);
RNA_def_property_ui_text(prop, "Select", "Frame is selected for editing in the Dope Sheet");
RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update");
/* API */
func = RNA_def_function(srna, "clear", "rna_GPencil_frame_clear");