[Bf-blender-cvs] [d1dde3c] master: Fix T40251: Rename of Shape key is not redrawed in Dopesheep.

Bastien Montagne noreply at git.blender.org
Sun May 18 20:32:32 CEST 2014


Commit: d1dde3c98136294b62f142f69d1cf61cd5bbc62f
Author: Bastien Montagne
Date:   Sun May 18 20:30:48 2014 +0200
https://developer.blender.org/rBd1dde3c98136294b62f142f69d1cf61cd5bbc62f

Fix T40251: Rename of Shape key is not redrawed in Dopesheep.

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

M	source/blender/makesrna/intern/rna_key.c

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

diff --git a/source/blender/makesrna/intern/rna_key.c b/source/blender/makesrna/intern/rna_key.c
index 950c369..a72e207 100644
--- a/source/blender/makesrna/intern/rna_key.c
+++ b/source/blender/makesrna/intern/rna_key.c
@@ -564,6 +564,7 @@ static void rna_def_keyblock(BlenderRNA *brna)
 	prop = RNA_def_property(srna, "name", PROP_STRING, PROP_NONE);
 	RNA_def_property_ui_text(prop, "Name", "Name of Shape Key");
 	RNA_def_property_string_funcs(prop, NULL, NULL, "rna_ShapeKey_name_set");
+	RNA_def_property_update(prop, 0, "rna_Key_update_data");
 	RNA_def_struct_name_property(srna, prop);
 
 	/* keys need to be sorted to edit this */




More information about the Bf-blender-cvs mailing list