[Bf-blender-cvs] [6fffe6c] master: Improve description for use_self py-driver option

Campbell Barton noreply at git.blender.org
Sun Jul 31 06:21:15 CEST 2016


Commit: 6fffe6cfcc1b3bef89b9e7a5546897276c71c3d8
Author: Campbell Barton
Date:   Sun Jul 31 14:21:16 2016 +1000
Branches: master
https://developer.blender.org/rB6fffe6cfcc1b3bef89b9e7a5546897276c71c3d8

Improve description for use_self py-driver option

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

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

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

diff --git a/source/blender/makesrna/intern/rna_fcurve.c b/source/blender/makesrna/intern/rna_fcurve.c
index 08c0f98..c521e93 100644
--- a/source/blender/makesrna/intern/rna_fcurve.c
+++ b/source/blender/makesrna/intern/rna_fcurve.c
@@ -1604,8 +1604,8 @@ static void rna_def_channeldriver(BlenderRNA *brna)
 	prop = RNA_def_property(srna, "use_self", PROP_BOOLEAN, PROP_NONE);
 	RNA_def_property_boolean_sdna(prop, NULL, "flag", DRIVER_FLAG_USE_SELF);
 	RNA_def_property_ui_text(prop, "Use Self",
-	                         "Pass 'self' argument to Py-Driver, "
-	                         "so it can access the data referenced by the driver (object, bone, etc...)");
+	                         "Include a 'self' variable in the name-space, "
+	                         "so drivers can easily reference the data being modified (object, bone, etc...)");
 
 	/* State Info (for Debugging) */
 	prop = RNA_def_property(srna, "is_valid", PROP_BOOLEAN, PROP_NONE);




More information about the Bf-blender-cvs mailing list