[Bf-blender-cvs] [60020f57d7a] master: Correct function name in argument parsing

Campbell Barton noreply at git.blender.org
Thu Sep 7 16:51:52 CEST 2017


Commit: 60020f57d7a80679a9493eef3915c205c9c6c246
Author: Campbell Barton
Date:   Fri Sep 8 00:59:27 2017 +1000
Branches: master
https://developer.blender.org/rB60020f57d7a80679a9493eef3915c205c9c6c246

Correct function name in argument parsing

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

M	source/blender/python/intern/bpy_rna.c

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

diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c
index 6a1016584af..c323366454e 100644
--- a/source/blender/python/intern/bpy_rna.c
+++ b/source/blender/python/intern/bpy_rna.c
@@ -3757,7 +3757,7 @@ static PyObject *pyrna_struct_bl_rna_get_subclass(PyObject *cls, PyObject *args)
 	char *id;
 	PyObject *ret_default = Py_None;
 
-	if (!PyArg_ParseTuple(args, "s|O:bl_rna_find_subclass", &id, &ret_default)) {
+	if (!PyArg_ParseTuple(args, "s|O:bl_rna_get_subclass", &id, &ret_default)) {
 		return NULL;
 	}
 	PyObject *ret = pyrna_struct_bl_rna_find_subclass_recursive(cls, id);



More information about the Bf-blender-cvs mailing list