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:
authorJoshua Leung <aligorith@gmail.com>2018-03-05 05:58:07 +0300
committerJoshua Leung <aligorith@gmail.com>2018-03-08 07:15:32 +0300
commita5d63624dee121b96cc6611bdd3242548aec4668 (patch)
tree898c5aec0e2bc9a89cdc98deb448f9ddd6056b3a /source/blender/makesrna/intern/rna_object_api.c
parent596f33f801f872df22460ad864da193e1a44e36f (diff)
Cleanup: Fix invalid name prefix
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 836c077aaf3..be63fc4abc8 100644
--- a/source/blender/makesrna/intern/rna_object_api.c
+++ b/source/blender/makesrna/intern/rna_object_api.c
@@ -91,7 +91,7 @@ static const EnumPropertyItem space_items[] = {
#include "DEG_depsgraph.h"
/* Convert a given matrix from a space to another (using the object and/or a bone as reference). */
-static void rna_Scene_mat_convert_space(Object *ob, ReportList *reports, bPoseChannel *pchan,
+static void rna_Object_mat_convert_space(Object *ob, ReportList *reports, bPoseChannel *pchan,
float *mat, float *mat_ret, int from, int to)
{
copy_m4_m4((float (*)[4])mat_ret, (float (*)[4])mat);
@@ -508,7 +508,7 @@ void RNA_api_object(StructRNA *srna)
#endif
/* Matrix space conversion */
- func = RNA_def_function(srna, "convert_space", "rna_Scene_mat_convert_space");
+ func = RNA_def_function(srna, "convert_space", "rna_Object_mat_convert_space");
RNA_def_function_ui_description(func, "Convert (transform) the given matrix from one space to another");
RNA_def_function_flag(func, FUNC_USE_REPORTS);
parm = RNA_def_pointer(func, "pose_bone", "PoseBone", "",