Cleanup: style, use braces in source/
Automated using clang-tidy.
This commit is contained in:
@@ -64,8 +64,9 @@ static int GuidingLinesShader___init__(BPy_GuidingLinesShader *self,
|
||||
static const char *kwlist[] = {"offset", NULL};
|
||||
float f;
|
||||
|
||||
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::GuidingLinesShader(f);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user