diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-10-17 04:39:23 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-10-17 04:39:23 +0300 |
commit | e7c02f14c7b0a2004e42500c4b0b024efb63c57f (patch) | |
tree | 4081974d26ae572eb2c51c70497932982850fa58 /source/blender/draw/engines/gpencil | |
parent | dccf3acede06158742ca9f26838c41da3d0d778e (diff) | |
parent | 85ddaaa16ede2fb223898e8e28182f4b6dec337e (diff) |
Merge branch 'blender-v2.81-release'
Diffstat (limited to 'source/blender/draw/engines/gpencil')
-rw-r--r-- | source/blender/draw/engines/gpencil/gpencil_draw_utils.c | 2 |
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 |