diff options
Diffstat (limited to 'source/blender/python/bmesh')
-rw-r--r-- | source/blender/python/bmesh/bmesh_py_types_meshdata.c | 4 | ||||
-rw-r--r-- | source/blender/python/bmesh/bmesh_py_types_select.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_types_meshdata.c b/source/blender/python/bmesh/bmesh_py_types_meshdata.c index e9841301201..7fffb205f2b 100644 --- a/source/blender/python/bmesh/bmesh_py_types_meshdata.c +++ b/source/blender/python/bmesh/bmesh_py_types_meshdata.c @@ -183,7 +183,7 @@ static int mathutils_bmloopcol_set(BaseMathObject *bmo, int UNUSED(subtype)) static int mathutils_bmloopcol_get_index(BaseMathObject *bmo, int subtype, int UNUSED(index)) { /* lazy, avoid repeteing the case statement */ - if(mathutils_bmloopcol_get(bmo, subtype) == -1) + if (mathutils_bmloopcol_get(bmo, subtype) == -1) return -1; return 0; } @@ -193,7 +193,7 @@ static int mathutils_bmloopcol_set_index(BaseMathObject *bmo, int subtype, int i const float f = bmo->data[index]; /* lazy, avoid repeteing the case statement */ - if(mathutils_bmloopcol_get(bmo, subtype) == -1) + if (mathutils_bmloopcol_get(bmo, subtype) == -1) return -1; bmo->data[index] = f; diff --git a/source/blender/python/bmesh/bmesh_py_types_select.c b/source/blender/python/bmesh/bmesh_py_types_select.c index af1ebee7fc6..bf0e70c7ac1 100644 --- a/source/blender/python/bmesh/bmesh_py_types_select.c +++ b/source/blender/python/bmesh/bmesh_py_types_select.c @@ -116,7 +116,7 @@ static PyObject *bpy_bmeditselseq_add(BPy_BMEditSelSeq *self, BPy_BMElem *value) BPY_BM_CHECK_OBJ(value); - if (self->bm != value->bm) { + if (self->bm != value->bm) { PyErr_SetString(PyExc_ValueError, "Element is not from this mesh"); return NULL; |