diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-09-12 11:58:43 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-09-12 11:59:44 +0300 |
commit | a22c2ceb0feed60942a59f0ebaa26d351b784ed8 (patch) | |
tree | 8f733ce296f1a157905266cd547865e114cad913 /source/blender/blenkernel | |
parent | 1e2f2f27e9f2bcac470330070a10e0d82f9a50a0 (diff) |
Cleanup: line breaks with comments
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/curve.c | 4 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/mesh_convert.c | 8 |
2 files changed, 7 insertions, 5 deletions
diff --git a/source/blender/blenkernel/intern/curve.c b/source/blender/blenkernel/intern/curve.c index 5f9a726d34a..0080eb1a9d7 100644 --- a/source/blender/blenkernel/intern/curve.c +++ b/source/blender/blenkernel/intern/curve.c @@ -2145,8 +2145,8 @@ static void tilt_bezpart(BezTriple *prevbezt, for (a = 0; a < resolu; a++, fac += dfac) { if (tilt_array) { - if (nu->tilt_interp == - KEY_CU_EASE) { /* May as well support for tilt also 2.47 ease interp */ + if (nu->tilt_interp == KEY_CU_EASE) { + /* May as well support for tilt also 2.47 ease interp. */ *tilt_array = prevbezt->tilt + (bezt->tilt - prevbezt->tilt) * (3.0f * fac * fac - 2.0f * fac * fac * fac); } diff --git a/source/blender/blenkernel/intern/mesh_convert.c b/source/blender/blenkernel/intern/mesh_convert.c index e072a37acee..0a991ee36c8 100644 --- a/source/blender/blenkernel/intern/mesh_convert.c +++ b/source/blender/blenkernel/intern/mesh_convert.c @@ -265,9 +265,11 @@ int BKE_mesh_nurbs_displist_to_mdata(Object *ob, const float *data; int a, b, ofs, vertcount, startvert, totvert = 0, totedge = 0, totloop = 0, totpoly = 0; int p1, p2, p3, p4, *index; - const bool conv_polys = ((CU_DO_2DFILL(cu) == - false) || /* 2d polys are filled with DL_INDEX3 displists */ - (ob->type == OB_SURF)); /* surf polys are never filled */ + const bool conv_polys = ( + /* 2d polys are filled with DL_INDEX3 displists */ + (CU_DO_2DFILL(cu) == false) || + /* surf polys are never filled */ + (ob->type == OB_SURF)); /* count */ dl = dispbase->first; |