Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-01-10 06:58:07 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-01-10 06:58:07 +0300
commitede0d855229713ee383d114cf3c6fecc4ff30464 (patch)
treedd28b3b2725ee6d3ca308de08e2b0f2e29a4826c /source/blender/makesrna/intern/rna_object_api.c
parenta9faad8b37b0b3eedc803f2a4d400b8f2af5e6dc (diff)
comment/remove various unused vars,
also make rna function for new images require width and hight args.
Diffstat (limited to 'source/blender/makesrna/intern/rna_object_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_object_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_object_api.c b/source/blender/makesrna/intern/rna_object_api.c
index 945d0dbb123..f7df4166528 100644
--- a/source/blender/makesrna/intern/rna_object_api.c
+++ b/source/blender/makesrna/intern/rna_object_api.c
@@ -415,8 +415,8 @@ 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);
- parm= RNA_def_string(func, "name", "Key", 0, "", "Unique name for the new keylock."); /* optional */
- parm= RNA_def_boolean(func, "from_mix", 1, "", "Create new shape from existing mix of shapes.");
+ RNA_def_string(func, "name", "Key", 0, "", "Unique name for the new keylock."); /* 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);
RNA_def_function_return(func, parm);