GPencil: Minor cleanup

This commit is contained in:
Antonio Vazquez 2019-05-28 13:31:09 +02:00
parent 13a90d646a
commit 5778e616e5
1 changed files with 1 additions and 1 deletions

View File

@ -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) &&