diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-10-01 01:42:26 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-10-01 02:20:31 +0300 |
commit | 8ee4fd0bdfed1faaf89cc3e131e35cda5e8068b6 (patch) | |
tree | ffbb5ac4e8002525820c6fef23c94cbe3a651a69 /source/blender/draw/engines/gpencil/gpencil_draw_utils.c | |
parent | 3cd98d9ef7e6b85ec3c186f27879612265e3d85d (diff) |
Cleanup: style
Diffstat (limited to 'source/blender/draw/engines/gpencil/gpencil_draw_utils.c')
-rw-r--r-- | source/blender/draw/engines/gpencil/gpencil_draw_utils.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c index 345b0f0c577..f7823a2fced 100644 --- a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c +++ b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c @@ -881,8 +881,8 @@ static void gpencil_draw_strokes( /* edit points (only in edit mode and not play animation not render) */ if ((draw_ctx->obact == ob) && (src_gps) && - (!playing) && (!is_render) && (!cache_ob->is_dup_ob) - && ((gpl->flag & GP_LAYER_LOCKED) == 0)) + (!playing) && (!is_render) && (!cache_ob->is_dup_ob) && + ((gpl->flag & GP_LAYER_LOCKED) == 0)) { if (!stl->g_data->shgrps_edit_line) { stl->g_data->shgrps_edit_line = DRW_shgroup_create(e_data->gpencil_line_sh, psl->edit_pass); @@ -970,9 +970,9 @@ void DRW_gpencil_populate_buffer_strokes(GPENCIL_e_data *e_data, void *vedata, T stl->storage->unit_matrix); if ((gpd->runtime.sbuffer_size >= 3) && - (gpd->runtime.sfill[3] > GPENCIL_ALPHA_OPACITY_THRESH) && + (gpd->runtime.sfill[3] > GPENCIL_ALPHA_OPACITY_THRESH) && ((gpd->runtime.sbuffer_sflag & GP_STROKE_NOFILL) == 0) && - ((brush->gpencil_settings->flag & GP_BRUSH_DISSABLE_LASSO) == 0)) + ((brush->gpencil_settings->flag & GP_BRUSH_DISSABLE_LASSO) == 0)) { /* if not solid, fill is simulated with solid color */ if (gpd->runtime.bfill_style > 0) { |