Commit: 0bcfe2788df225ae948c31815535532a8b02b894 Author: Amelie Fondevilla Date: Wed Dec 21 11:54:44 2022 +0100 Branches: master https://developer.blender.org/rB0bcfe2788df225ae948c31815535532a8b02b894
Fix T103376: Grease pencil frames selected from python are not updated in the dopesheet Differential Revision: https://developer.blender.org/D16832 =================================================================== M source/blender/makesrna/intern/rna_gpencil.c =================================================================== diff --git a/source/blender/makesrna/intern/rna_gpencil.c b/source/blender/makesrna/intern/rna_gpencil.c index cf02b8fe61c..a9dc4f4dc12 100644 --- a/source/blender/makesrna/intern/rna_gpencil.c +++ b/source/blender/makesrna/intern/rna_gpencil.c @@ -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"); _______________________________________________ Bf-blender-cvs mailing list [email protected] List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs
