diff options
Diffstat (limited to 'source/blender/freestyle/intern/python/StrokeShader/BPy_PolygonalizationShader.cpp')
-rw-r--r-- | source/blender/freestyle/intern/python/StrokeShader/BPy_PolygonalizationShader.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/python/StrokeShader/BPy_PolygonalizationShader.cpp b/source/blender/freestyle/intern/python/StrokeShader/BPy_PolygonalizationShader.cpp index 7eb20d47539..8128a6dd8ad 100644 --- a/source/blender/freestyle/intern/python/StrokeShader/BPy_PolygonalizationShader.cpp +++ b/source/blender/freestyle/intern/python/StrokeShader/BPy_PolygonalizationShader.cpp @@ -63,8 +63,9 @@ static int PolygonalizationShader___init__(BPy_PolygonalizationShader *self, static const char *kwlist[] = {"error", 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::PolygonalizationShader(f); return 0; } |