diff options
Diffstat (limited to 'source/blender/python/mathutils/mathutils_Vector.c')
-rw-r--r-- | source/blender/python/mathutils/mathutils_Vector.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/mathutils/mathutils_Vector.c b/source/blender/python/mathutils/mathutils_Vector.c index 82c4e70b657..b9befee9f22 100644 --- a/source/blender/python/mathutils/mathutils_Vector.c +++ b/source/blender/python/mathutils/mathutils_Vector.c @@ -3236,14 +3236,14 @@ PyObject *Vector_CreatePyObject_cb(PyObject *cb_user, } /** - * \param vec: Initialized vector value to use in-place, allocated with: PyMem_Malloc + * \param vec: Initialized vector value to use in-place, allocated with #PyMem_Malloc */ PyObject *Vector_CreatePyObject_alloc(float *vec, const int size, PyTypeObject *base_type) { VectorObject *self; self = (VectorObject *)Vector_CreatePyObject_wrap(vec, size, base_type); if (self) { - self->flag = BASE_MATH_FLAG_DEFAULT; + self->flag &= ~BASE_MATH_FLAG_IS_WRAP; } return (PyObject *)self; |