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

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

View File

@@ -80,7 +80,8 @@ static int StrokeAttribute_init(BPy_StrokeAttribute *self, PyObject *args, PyObj
float red, green, blue, alpha, thickness_right, thickness_left, t;
if (PyArg_ParseTupleAndKeywords(
args, kwds, "|O!", (char **)kwlist_1, &StrokeAttribute_Type, &obj1)) {
args, kwds, "|O!", (char **)kwlist_1, &StrokeAttribute_Type, &obj1))
{
if (!obj1) {
self->sa = new StrokeAttribute();
}
@@ -97,7 +98,8 @@ static int StrokeAttribute_init(BPy_StrokeAttribute *self, PyObject *args, PyObj
&obj1,
&StrokeAttribute_Type,
&obj2,
&t)) {
&t))
{
self->sa = new StrokeAttribute(
*(((BPy_StrokeAttribute *)obj1)->sa), *(((BPy_StrokeAttribute *)obj2)->sa), t);
}
@@ -111,7 +113,8 @@ static int StrokeAttribute_init(BPy_StrokeAttribute *self, PyObject *args, PyObj
&blue,
&alpha,
&thickness_right,
&thickness_left)) {
&thickness_left))
{
self->sa = new StrokeAttribute(red, green, blue, alpha, thickness_right, thickness_left);
}
else {