From 163996b68129f3a34db73c6a6a1e81ec8f4a81e4 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 2 Jul 2019 22:17:22 +1000 Subject: Cleanup: move comments onto own lines to avoid breaking lines --- source/blender/freestyle/intern/python/Interface1D/BPy_Stroke.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source/blender/freestyle') diff --git a/source/blender/freestyle/intern/python/Interface1D/BPy_Stroke.cpp b/source/blender/freestyle/intern/python/Interface1D/BPy_Stroke.cpp index 8ba22b0617a..f712009b191 100644 --- a/source/blender/freestyle/intern/python/Interface1D/BPy_Stroke.cpp +++ b/source/blender/freestyle/intern/python/Interface1D/BPy_Stroke.cpp @@ -198,8 +198,10 @@ static PyObject *Stroke_insert_vertex(BPy_Stroke *self, PyObject *args, PyObject &py_sv_it)) { return NULL; } - ((BPy_StrokeVertex *)py_sv)->py_cp.py_if0D.borrowed = - true; /* make the wrapped StrokeVertex internal */ + + /* Make the wrapped StrokeVertex internal. */ + ((BPy_StrokeVertex *)py_sv)->py_cp.py_if0D.borrowed = true; + StrokeVertex *sv = ((BPy_StrokeVertex *)py_sv)->sv; StrokeInternal::StrokeVertexIterator sv_it(*(((BPy_StrokeVertexIterator *)py_sv_it)->sv_it)); self->s->InsertVertex(sv, sv_it); -- cgit v1.2.3