Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-10-17 04:39:23 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-10-17 04:39:23 +0300
commite7c02f14c7b0a2004e42500c4b0b024efb63c57f (patch)
tree4081974d26ae572eb2c51c70497932982850fa58 /source
parentdccf3acede06158742ca9f26838c41da3d0d778e (diff)
parent85ddaaa16ede2fb223898e8e28182f4b6dec337e (diff)
Merge branch 'blender-v2.81-release'
Diffstat (limited to 'source')
-rw-r--r--source/blender/draw/engines/gpencil/gpencil_draw_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c
index d9ad9bd88d9..576655a9f87 100644
--- a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c
+++ b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c
@@ -1376,7 +1376,7 @@ static void gpencil_draw_onionskins(GpencilBatchCache *cache,
NULL;
int last = gpf->framenum;
- colflag = (bool)gpd->onion_flag & GP_ONION_GHOST_PREVCOL;
+ colflag = (gpd->onion_flag & GP_ONION_GHOST_PREVCOL) != 0;
const short onion_keytype = gpd->onion_keytype;
/* -------------------------------
* 1) Draw Previous Frames First