From be116242d43c58ddf08b5d28379cdb0a26b6bb5c Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 20 Mar 2012 04:27:14 +0000 Subject: style cleanup --- source/blender/python/bmesh/bmesh_py_types_meshdata.c | 4 ++-- source/blender/python/bmesh/bmesh_py_types_select.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/python/bmesh') 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; -- cgit v1.2.3