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>2018-06-26 10:26:52 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-26 10:31:57 +0300
commita69f985f40905b01cf542d370831e7ade138a4e3 (patch)
tree17f1e926a9f09a9461967efa92a8daedc344fc4d /source/blender/python/mathutils/mathutils_Euler.c
parent87f598fd3f2b7968af0620b98f16bb86aa17d541 (diff)
PyAPI: move deep-copy args check to py_capi_utils
Diffstat (limited to 'source/blender/python/mathutils/mathutils_Euler.c')
-rw-r--r--source/blender/python/mathutils/mathutils_Euler.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/python/mathutils/mathutils_Euler.c b/source/blender/python/mathutils/mathutils_Euler.c
index 026384743bd..8be3de42226 100644
--- a/source/blender/python/mathutils/mathutils_Euler.c
+++ b/source/blender/python/mathutils/mathutils_Euler.c
@@ -32,6 +32,7 @@
#include "BLI_math.h"
#include "BLI_utildefines.h"
#include "../generic/python_utildefines.h"
+#include "../generic/py_capi_utils.h"
#ifndef MATH_STANDALONE
# include "BLI_dynstr.h"
@@ -312,8 +313,9 @@ static PyObject *Euler_copy(EulerObject *self)
}
static PyObject *Euler_deepcopy(EulerObject *self, PyObject *args)
{
- if (!mathutils_deepcopy_args_check(args))
+ if (!PyC_CheckArgs_DeepCopy(args)) {
return NULL;
+ }
return Euler_copy(self);
}