diff options
Diffstat (limited to 'source/blender/python/bmesh')
-rw-r--r-- | source/blender/python/bmesh/bmesh_py_types.h | 2 | ||||
-rw-r--r-- | source/blender/python/bmesh/bmesh_py_types_meshdata.c | 4 | ||||
-rw-r--r-- | source/blender/python/bmesh/bmesh_py_types_meshdata.h | 12 |
3 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_types.h b/source/blender/python/bmesh/bmesh_py_types.h index 7ac3c4bf3cc..ce894760eff 100644 --- a/source/blender/python/bmesh/bmesh_py_types.h +++ b/source/blender/python/bmesh/bmesh_py_types.h @@ -176,7 +176,7 @@ int bpy_bm_generic_valid_check(BPy_BMGeneric *self); int bpy_bm_generic_valid_check_source(BMesh *bm_source, const char *error_prefix, void **args, - uint args_n) ATTR_NONNULL(1, 2); + uint args_tot) ATTR_NONNULL(1, 2); #define BPY_BM_CHECK_OBJ(obj) \ if (UNLIKELY(bpy_bm_generic_valid_check((BPy_BMGeneric *)obj) == -1)) { \ diff --git a/source/blender/python/bmesh/bmesh_py_types_meshdata.c b/source/blender/python/bmesh/bmesh_py_types_meshdata.c index f42348975c9..8214be3bd73 100644 --- a/source/blender/python/bmesh/bmesh_py_types_meshdata.c +++ b/source/blender/python/bmesh/bmesh_py_types_meshdata.c @@ -351,10 +351,10 @@ int BPy_BMLoopColor_AssignPyObject(struct MLoopCol *mloopcol, PyObject *value) return -1; } -PyObject *BPy_BMLoopColor_CreatePyObject(struct MLoopCol *data) +PyObject *BPy_BMLoopColor_CreatePyObject(struct MLoopCol *mloopcol) { PyObject *color_capsule; - color_capsule = PyCapsule_New(data, NULL, NULL); + color_capsule = PyCapsule_New(mloopcol, NULL, NULL); return Vector_CreatePyObject_cb(color_capsule, 4, mathutils_bmloopcol_cb_index, 0); } diff --git a/source/blender/python/bmesh/bmesh_py_types_meshdata.h b/source/blender/python/bmesh/bmesh_py_types_meshdata.h index 58f31a9807e..b7699b387e5 100644 --- a/source/blender/python/bmesh/bmesh_py_types_meshdata.h +++ b/source/blender/python/bmesh/bmesh_py_types_meshdata.h @@ -37,14 +37,14 @@ struct MLoopCol; struct MLoopUV; struct MVertSkin; -int BPy_BMLoopUV_AssignPyObject(struct MLoopUV *data, PyObject *value); -PyObject *BPy_BMLoopUV_CreatePyObject(struct MLoopUV *data); +int BPy_BMLoopUV_AssignPyObject(struct MLoopUV *mloopuv, PyObject *value); +PyObject *BPy_BMLoopUV_CreatePyObject(struct MLoopUV *mloopuv); -int BPy_BMVertSkin_AssignPyObject(struct MVertSkin *data, PyObject *value); -PyObject *BPy_BMVertSkin_CreatePyObject(struct MVertSkin *data); +int BPy_BMVertSkin_AssignPyObject(struct MVertSkin *mvertskin, PyObject *value); +PyObject *BPy_BMVertSkin_CreatePyObject(struct MVertSkin *mvertskin); -int BPy_BMLoopColor_AssignPyObject(struct MLoopCol *data, PyObject *value); -PyObject *BPy_BMLoopColor_CreatePyObject(struct MLoopCol *data); +int BPy_BMLoopColor_AssignPyObject(struct MLoopCol *mloopcol, PyObject *value); +PyObject *BPy_BMLoopColor_CreatePyObject(struct MLoopCol *mloopcol); int BPy_BMDeformVert_AssignPyObject(struct MDeformVert *dvert, PyObject *value); PyObject *BPy_BMDeformVert_CreatePyObject(struct MDeformVert *dvert); |