diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-07-10 07:41:19 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-07-10 07:41:19 +0300 |
commit | e927ce8acb6848974077fbbd6dc110dd3948b48a (patch) | |
tree | 7b955f22aa42f1eaf0d6bd88aff202c3a2f41f9f /source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp | |
parent | 91b8e57d653a1dce80f4e7c83ddfd0b596020590 (diff) |
Cleanup: avoid line breaks from trailing comments
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp')
-rw-r--r-- | source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp b/source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp index 7d2716a3e71..505566d3515 100644 --- a/source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp +++ b/source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp @@ -577,8 +577,8 @@ static int StrokeAttribute_alpha_set(BPy_StrokeAttribute *self, void *UNUSED(closure)) { float scalar; - if ((scalar = PyFloat_AsDouble(value)) == -1.0f && - PyErr_Occurred()) { /* parsed item not a number */ + if ((scalar = PyFloat_AsDouble(value)) == -1.0f && PyErr_Occurred()) { + /* parsed item not a number */ PyErr_SetString(PyExc_TypeError, "value must be a number"); return -1; } |