Cleanup: format (with BraceWrapping::AfterControlStatement "MultiLine")

This commit is contained in:
2023-05-02 08:42:26 +10:00
parent 391f86bc38
commit 6859bb6e67
1314 changed files with 9714 additions and 5571 deletions

View File

@@ -259,7 +259,8 @@ static int bpy_slot_from_py(BMesh *bm,
(slot->slot_subtype.elem & BM_ALL_NOLOOP),
opname,
slot_name,
"single element") == -1) {
"single element") == -1)
{
return -1; /* error is set in bpy_slot_from_py_elem_check() */
}
@@ -283,7 +284,8 @@ static int bpy_slot_from_py(BMesh *bm,
(slot->slot_subtype.elem & BM_ALL_NOLOOP),
opname,
slot_name,
"element buffer") == -1) {
"element buffer") == -1)
{
return -1; /* error is set in bpy_slot_from_py_elem_check() */
}
@@ -296,7 +298,8 @@ static int bpy_slot_from_py(BMesh *bm,
(slot->slot_subtype.elem & BM_ALL_NOLOOP),
opname,
slot_name,
"element buffer") == -1) {
"element buffer") == -1)
{
return -1; /* error is set in bpy_slot_from_py_elem_check() */
}
@@ -309,7 +312,8 @@ static int bpy_slot_from_py(BMesh *bm,
(slot->slot_subtype.elem & BM_ALL_NOLOOP),
opname,
slot_name,
"element buffer") == -1) {
"element buffer") == -1)
{
return -1; /* error is set in bpy_slot_from_py_elem_check() */
}
BMO_slot_buffer_from_all(bm, bmop, bmop->slots_in, slot_name, BM_FACE);
@@ -328,7 +332,8 @@ static int bpy_slot_from_py(BMesh *bm,
(slot->slot_subtype.elem & BM_ALL_NOLOOP),
opname,
slot_name,
"element buffer") == -1) {
"element buffer") == -1)
{
return -1; /* error is set in bpy_slot_from_py_elem_check() */
}
@@ -417,7 +422,8 @@ static int bpy_slot_from_py(BMesh *bm,
BM_ALL_NOLOOP,
opname,
slot_name,
"invalid key in dict") == -1) {
"invalid key in dict") == -1)
{
return -1; /* error is set in bpy_slot_from_py_elem_check() */
}
@@ -426,7 +432,8 @@ static int bpy_slot_from_py(BMesh *bm,
BM_ALL_NOLOOP,
opname,
slot_name,
"invalid value in dict") == -1) {
"invalid value in dict") == -1)
{
return -1; /* error is set in bpy_slot_from_py_elem_check() */
}
@@ -448,7 +455,8 @@ static int bpy_slot_from_py(BMesh *bm,
BM_ALL_NOLOOP,
opname,
slot_name,
"invalid key in dict") == -1) {
"invalid key in dict") == -1)
{
return -1; /* error is set in bpy_slot_from_py_elem_check() */
}
@@ -481,7 +489,8 @@ static int bpy_slot_from_py(BMesh *bm,
BM_ALL_NOLOOP,
opname,
slot_name,
"invalid key in dict") == -1) {
"invalid key in dict") == -1)
{
return -1; /* error is set in bpy_slot_from_py_elem_check() */
}
@@ -514,7 +523,8 @@ static int bpy_slot_from_py(BMesh *bm,
BM_ALL_NOLOOP,
opname,
slot_name,
"invalid key in dict") == -1) {
"invalid key in dict") == -1)
{
return -1; /* error is set in bpy_slot_from_py_elem_check() */
}
@@ -547,7 +557,8 @@ static int bpy_slot_from_py(BMesh *bm,
BM_ALL_NOLOOP,
opname,
slot_name,
"invalid key in set") == -1) {
"invalid key in set") == -1)
{
return -1; /* error is set in bpy_slot_from_py_elem_check() */
}
@@ -738,7 +749,8 @@ PyObject *BPy_BMO_call(BPy_BMeshOpFunc *self, PyObject *args, PyObject *kw)
BMOperator bmop;
if ((PyTuple_GET_SIZE(args) == 1) && (py_bm = (BPy_BMesh *)PyTuple_GET_ITEM(args, 0)) &&
BPy_BMesh_Check(py_bm)) {
BPy_BMesh_Check(py_bm))
{
BPY_BM_CHECK_OBJ(py_bm);
bm = py_bm->bm;