From e927ce8acb6848974077fbbd6dc110dd3948b48a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 10 Jul 2019 14:41:19 +1000 Subject: Cleanup: avoid line breaks from trailing comments --- source/blender/freestyle/intern/python/Interface1D/BPy_Stroke.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/freestyle/intern/python/Interface1D/BPy_Stroke.cpp') diff --git a/source/blender/freestyle/intern/python/Interface1D/BPy_Stroke.cpp b/source/blender/freestyle/intern/python/Interface1D/BPy_Stroke.cpp index f712009b191..df80f61a7a6 100644 --- a/source/blender/freestyle/intern/python/Interface1D/BPy_Stroke.cpp +++ b/source/blender/freestyle/intern/python/Interface1D/BPy_Stroke.cpp @@ -435,8 +435,8 @@ static PyObject *Stroke_length_2d_get(BPy_Stroke *self, void *UNUSED(closure)) static int Stroke_length_2d_set(BPy_Stroke *self, PyObject *value, 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; } -- cgit v1.2.3