Cleanup: format (with BraceWrapping::AfterControlStatement "MultiLine")
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user