diff options
Diffstat (limited to 'source/blender/freestyle/intern/python/StrokeShader/BPy_ConstantThicknessShader.cpp')
-rw-r--r-- | source/blender/freestyle/intern/python/StrokeShader/BPy_ConstantThicknessShader.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/python/StrokeShader/BPy_ConstantThicknessShader.cpp b/source/blender/freestyle/intern/python/StrokeShader/BPy_ConstantThicknessShader.cpp index 5177d275a10..00fbfe525c3 100644 --- a/source/blender/freestyle/intern/python/StrokeShader/BPy_ConstantThicknessShader.cpp +++ b/source/blender/freestyle/intern/python/StrokeShader/BPy_ConstantThicknessShader.cpp @@ -56,8 +56,9 @@ static int ConstantThicknessShader___init__(BPy_ConstantThicknessShader *self, static const char *kwlist[] = {"thickness", 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::ConstantThicknessShader(f); return 0; } |