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