Cleanup: remove redundant parentheses
This commit is contained in:
@@ -608,7 +608,7 @@ static PyObject *bpy_slot_to_py(BMesh *bm, BMOpSlot *slot)
|
||||
/* keep switch in same order as above */
|
||||
switch (slot->slot_type) {
|
||||
case BMO_OP_SLOT_BOOL:
|
||||
item = PyBool_FromLong((BMO_SLOT_AS_BOOL(slot)));
|
||||
item = PyBool_FromLong(BMO_SLOT_AS_BOOL(slot));
|
||||
break;
|
||||
case BMO_OP_SLOT_INT:
|
||||
item = PyLong_FromLong(BMO_SLOT_AS_INT(slot));
|
||||
|
||||
@@ -189,7 +189,7 @@ static PyObject *bpy_bm_utils_vert_dissolve(PyObject *UNUSED(self), PyObject *ar
|
||||
|
||||
bm = py_vert->bm;
|
||||
|
||||
return PyBool_FromLong((BM_vert_dissolve(bm, py_vert->v)));
|
||||
return PyBool_FromLong(BM_vert_dissolve(bm, py_vert->v));
|
||||
}
|
||||
|
||||
PyDoc_STRVAR(bpy_bm_utils_vert_splice_doc,
|
||||
|
||||
Reference in New Issue
Block a user