From 4439e5d0ba3ffde3841ec44405a9bcaf800be279 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 18 Apr 2019 17:17:32 +0200 Subject: Cleanup: add trailing commas to avoid right shift --- .../StrokeShader/BPy_IncreasingColorShader.cpp | 20 +++++++++++--------- .../python/StrokeShader/BPy_SmoothingShader.cpp | 20 +++++++++++--------- 2 files changed, 22 insertions(+), 18 deletions(-) (limited to 'source/blender/freestyle') diff --git a/source/blender/freestyle/intern/python/StrokeShader/BPy_IncreasingColorShader.cpp b/source/blender/freestyle/intern/python/StrokeShader/BPy_IncreasingColorShader.cpp index bc0bc5bd721..57d8f3201b1 100644 --- a/source/blender/freestyle/intern/python/StrokeShader/BPy_IncreasingColorShader.cpp +++ b/source/blender/freestyle/intern/python/StrokeShader/BPy_IncreasingColorShader.cpp @@ -70,15 +70,17 @@ static int IncreasingColorShader___init__(BPy_IncreasingColorShader *self, PyObject *args, PyObject *kwds) { - static const char *kwlist[] = {"red_min", - "green_min", - "blue_min", - "alpha_min", - "red_max", - "green_max", - "blue_max", - "alpha_max", - NULL}; + static const char *kwlist[] = { + "red_min", + "green_min", + "blue_min", + "alpha_min", + "red_max", + "green_max", + "blue_max", + "alpha_max", + NULL, + }; float f1, f2, f3, f4, f5, f6, f7, f8; if (!PyArg_ParseTupleAndKeywords( diff --git a/source/blender/freestyle/intern/python/StrokeShader/BPy_SmoothingShader.cpp b/source/blender/freestyle/intern/python/StrokeShader/BPy_SmoothingShader.cpp index 72d5799412f..51a0c670d75 100644 --- a/source/blender/freestyle/intern/python/StrokeShader/BPy_SmoothingShader.cpp +++ b/source/blender/freestyle/intern/python/StrokeShader/BPy_SmoothingShader.cpp @@ -71,15 +71,17 @@ static char SmoothingShader___doc__[] = static int SmoothingShader___init__(BPy_SmoothingShader *self, PyObject *args, PyObject *kwds) { - static const char *kwlist[] = {"num_iterations", - "factor_point", - "factor_curvature", - "factor_curvature_difference", - "aniso_point", - "aniso_normal", - "aniso_curvature", - "carricature_factor", - NULL}; + static const char *kwlist[] = { + "num_iterations", + "factor_point", + "factor_curvature", + "factor_curvature_difference", + "aniso_point", + "aniso_normal", + "aniso_curvature", + "carricature_factor", + NULL, + }; int i1 = 100; double d2 = 0.1, d3 = 0.0, d4 = 0.2, d5 = 0.0, d6 = 0.0, d7 = 0.0, d8 = 1.0; -- cgit v1.2.3