Commit: 1c7c1480d1ac55227c7e7d65bc2675956bab3dd3 Author: Jake Date: Wed Jan 4 13:59:36 2023 +0100 Branches: master https://developer.blender.org/rB1c7c1480d1ac55227c7e7d65bc2675956bab3dd3
Fix T92988: keymap item expanding incorrectly "show_expanded" did not dirty the keymap diff cache, leading to old flags being written to the item when another item was edited. Differential Revision: https://developer.blender.org/D13418 =================================================================== M source/blender/makesrna/intern/rna_wm.c =================================================================== diff --git a/source/blender/makesrna/intern/rna_wm.c b/source/blender/makesrna/intern/rna_wm.c index 55ceee55684..f712097bb54 100644 --- a/source/blender/makesrna/intern/rna_wm.c +++ b/source/blender/makesrna/intern/rna_wm.c @@ -2804,6 +2804,7 @@ static void rna_def_keyconfig(BlenderRNA *brna) RNA_def_property_ui_text( prop, "Expanded", "Show key map event and property details in the user interface"); RNA_def_property_ui_icon(prop, ICON_DISCLOSURE_TRI_RIGHT, 1); + RNA_def_property_update(prop, 0, "rna_KeyMapItem_update"); prop = RNA_def_property(srna, "propvalue", PROP_ENUM, PROP_NONE); RNA_def_property_enum_sdna(prop, NULL, "propvalue"); _______________________________________________ Bf-blender-cvs mailing list [email protected] List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs
