diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-19 07:03:21 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-19 07:08:16 +0300 |
commit | 5ef4b0438cf4773e7dd8c661388bb2c3079869bf (patch) | |
tree | 634b95c85cdc786d48904b3ee3bb47f77eaff262 /source/blender/editors/gpencil | |
parent | 7e6263095de1ded7b17ed9c4d030d1b9dac6d9ed (diff) |
Cleanup: trailing space
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r-- | source/blender/editors/gpencil/drawgpencil.c | 2 | ||||
-rw-r--r-- | source/blender/editors/gpencil/gpencil_brush.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/gpencil/drawgpencil.c b/source/blender/editors/gpencil/drawgpencil.c index ebe0fa61b21..d25ff6b4c07 100644 --- a/source/blender/editors/gpencil/drawgpencil.c +++ b/source/blender/editors/gpencil/drawgpencil.c @@ -736,7 +736,7 @@ static void gp_draw_stroke_3d(tGPDdraw *tgpw, short thickness, const float ink[4 /* first point for adjacency (not drawn) */ if (i == 0) { gp_set_point_varying_color(points, ink, attr_id.color); - + if ((cyclic) && (totpoints > 2)) { immAttr1f(attr_id.thickness, max_ff((points + totpoints - 1)->pressure * thickness, 1.0f)); mul_v3_m4v3(fpt, tgpw->diff_mat, &(points + totpoints - 1)->x); diff --git a/source/blender/editors/gpencil/gpencil_brush.c b/source/blender/editors/gpencil/gpencil_brush.c index 2df0edd3bf7..6e8dd11ee2f 100644 --- a/source/blender/editors/gpencil/gpencil_brush.c +++ b/source/blender/editors/gpencil/gpencil_brush.c @@ -206,7 +206,7 @@ static void gpsculpt_compute_lock_axis(tGP_BrushEditData *gso, bGPDspoint *pt, c float plane[4]; float mat[4][4]; float r_close[3]; - + loc_eul_size_to_mat4(mat, cursor->location, cursor->rotation_euler, |