[Bf-blender-cvs] [d36dbe8] master: RNA: remove redundant update callback

Campbell Barton noreply at git.blender.org
Wed Mar 9 06:19:53 CET 2016


Commit: d36dbe8a6deb85ad9878a5d074586d460a4499c1
Author: Campbell Barton
Date:   Wed Mar 9 16:10:33 2016 +1100
Branches: master
https://developer.blender.org/rBd36dbe8a6deb85ad9878a5d074586d460a4499c1

RNA: remove redundant update callback

No need to update keymap toggling expand.

===================================================================

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 8e01e15..51c410e 100644
--- a/source/blender/makesrna/intern/rna_wm.c
+++ b/source/blender/makesrna/intern/rna_wm.c
@@ -2194,7 +2194,6 @@ static void rna_def_keyconfig(BlenderRNA *brna)
 	RNA_def_property_boolean_sdna(prop, NULL, "flag", KMI_EXPANDED);
 	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_TRIA_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");




More information about the Bf-blender-cvs mailing list