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:
Diffstat (limited to 'source/blender/python/api2_2x/NLA.c')
-rw-r--r--source/blender/python/api2_2x/NLA.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/NLA.c b/source/blender/python/api2_2x/NLA.c
index 9ae6bd66bbc..650ae4fe413 100644
--- a/source/blender/python/api2_2x/NLA.c
+++ b/source/blender/python/api2_2x/NLA.c
@@ -204,7 +204,7 @@ M_NLA_GetActions(PyObject* self)
Py_DECREF (py_action);
} else {
Py_DECREF ( dict );
- return (PythonReturnErrorObject (PyExc_RuntimeError,
+ return (EXPP_ReturnPyObjError (PyExc_RuntimeError,
"NLA_GetActions: could not create Action object"));
}
}
@@ -359,7 +359,7 @@ static PyObject *Action_getAllChannelIpos (BPy_Action *self)
Py_DECREF (ipo_attr);
} else {
Py_DECREF ( dict );
- return (PythonReturnErrorObject (PyExc_RuntimeError,
+ return (EXPP_ReturnPyObjError (PyExc_RuntimeError,
"Action_getAllChannelIpos: could not create Ipo object"));
}
}