[Bf-blender-cvs] [72f86ad] master: Fix typo in RNA definition of "shape_key_add"

Philipp Oeser noreply at git.blender.org
Wed Mar 11 12:18:03 CET 2015


Commit: 72f86ad04650e3609434e754140a3281339eeaa1
Author: Philipp Oeser
Date:   Wed Mar 11 16:15:16 2015 +0500
Branches: master
https://developer.blender.org/rB72f86ad04650e3609434e754140a3281339eeaa1

Fix typo in RNA definition of "shape_key_add"

Reviewers: sergey

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D1167

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

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

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

diff --git a/source/blender/makesrna/intern/rna_object_api.c b/source/blender/makesrna/intern/rna_object_api.c
index 1b4bc10..814e6e8 100644
--- a/source/blender/makesrna/intern/rna_object_api.c
+++ b/source/blender/makesrna/intern/rna_object_api.c
@@ -557,7 +557,7 @@ void RNA_api_object(StructRNA *srna)
 	func = RNA_def_function(srna, "shape_key_add", "rna_Object_shape_key_add");
 	RNA_def_function_ui_description(func, "Add shape key to an object");
 	RNA_def_function_flag(func, FUNC_USE_CONTEXT | FUNC_USE_REPORTS);
-	RNA_def_string(func, "name", "Key", 0, "", "Unique name for the new keylock"); /* optional */
+	RNA_def_string(func, "name", "Key", 0, "", "Unique name for the new keyblock"); /* optional */
 	RNA_def_boolean(func, "from_mix", 1, "", "Create new shape from existing mix of shapes");
 	parm = RNA_def_pointer(func, "key", "ShapeKey", "", "New shape keyblock");
 	RNA_def_property_flag(parm, PROP_RNAPTR);




More information about the Bf-blender-cvs mailing list