Cleanup: style, use braces in source/
Automated using clang-tidy.
This commit is contained in:
@@ -57,8 +57,9 @@ static int BezierCurveShader___init__(BPy_BezierCurveShader *self, PyObject *arg
|
||||
static const char *kwlist[] = {"error", NULL};
|
||||
float f = 4.0;
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|f", (char **)kwlist, &f))
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|f", (char **)kwlist, &f)) {
|
||||
return -1;
|
||||
}
|
||||
self->py_ss.ss = new StrokeShaders::BezierCurveShader(f);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user