[Bf-blender-cvs] [81fc55f563a] master: Fix T61010: Keying Set - Description edit box disabled, for internal use only.

Bastien Montagne noreply at git.blender.org
Fri Feb 1 20:36:27 CET 2019


Commit: 81fc55f563a909e4011bd4dc4c078ab292be3a17
Author: Bastien Montagne
Date:   Fri Feb 1 20:33:42 2019 +0100
Branches: master
https://developer.blender.org/rB81fc55f563a909e4011bd4dc4c078ab292be3a17

Fix T61010: Keying Set - Description edit box disabled, for internal use only.

Wrong property flag for that one, KeyingSet is a regular RNA class, not
a registrable 'interface' one, unlike KeyingSetInfo...

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

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

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

diff --git a/source/blender/makesrna/intern/rna_animation.c b/source/blender/makesrna/intern/rna_animation.c
index 47e366392cc..76f99443b27 100644
--- a/source/blender/makesrna/intern/rna_animation.c
+++ b/source/blender/makesrna/intern/rna_animation.c
@@ -941,7 +941,6 @@ static void rna_def_keyingset(BlenderRNA *brna)
 	prop = RNA_def_property(srna, "bl_description", PROP_STRING, PROP_NONE);
 	RNA_def_property_string_sdna(prop, NULL, "description");
 	RNA_def_property_string_maxlength(prop, RNA_DYN_DESCR_MAX); /* else it uses the pointer size! */
-	RNA_def_property_flag(prop, PROP_REGISTER_OPTIONAL);
 	RNA_def_property_ui_text(prop, "Description", "A short description of the keying set");
 
 	/* KeyingSetInfo (Type Info) for Builtin Sets only  */



More information about the Bf-blender-cvs mailing list