Commit: a5d63624dee121b96cc6611bdd3242548aec4668 Author: Joshua Leung Date: Mon Mar 5 15:58:07 2018 +1300 Branches: master https://developer.blender.org/rBa5d63624dee121b96cc6611bdd3242548aec4668
Cleanup: Fix invalid name prefix =================================================================== 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 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", "", _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs