diff options
author | Antonioya <blendergit@gmail.com> | 2019-05-28 14:31:09 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-05-28 16:55:31 +0300 |
commit | 5778e616e5adc58a5669f3f24ad2358e947dd8d8 (patch) | |
tree | 894e89ceb440381a26be5610acd3046163b75e60 /source/blender | |
parent | 13a90d646a4d29296dde1561417f3faeb46091c6 (diff) |
GPencil: Minor cleanup
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/draw/engines/gpencil/gpencil_engine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/gpencil/gpencil_engine.c b/source/blender/draw/engines/gpencil/gpencil_engine.c index 21d74f48027..000fb65e0c3 100644 --- a/source/blender/draw/engines/gpencil/gpencil_engine.c +++ b/source/blender/draw/engines/gpencil/gpencil_engine.c @@ -947,7 +947,7 @@ void GPENCIL_draw_scene(void *ved) bool use_blend = false; if (cache_ob->tot_layers > 0) { for (int e = 0; e < cache_ob->tot_layers; e++) { - bool is_last = e == cache_ob->tot_layers - 1 ? true : false; + bool is_last = (e == cache_ob->tot_layers - 1) ? true : false; array_elm = &cache_ob->shgrp_array[e]; if (((array_elm->mode == eGplBlendMode_Normal) && (!use_blend) && |