diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2019-09-20 16:56:46 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2019-09-21 11:29:25 +0300 |
commit | c4cc4b57941171a7a5c3404b66420239d74b0c07 (patch) | |
tree | fd35961a6c0a8ba4b145c567becbbf1f0148846a /source/blender | |
parent | db7b3de9184fcebd711c94662e80d935cad2cd3d (diff) |
GPencil: Multiframe Show only Edit lines was inverted
The flag was working in the oposite mode.
Related to T70116
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/draw/engines/gpencil/gpencil_draw_utils.c | 3 |
1 files changed, 2 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 4375e9fb3ad..abc76d09719 100644 --- a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c +++ b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c @@ -1156,7 +1156,8 @@ static void gpencil_draw_strokes(GpencilBatchCache *cache, const bool playing = stl->storage->is_playing; const bool is_render = (bool)stl->storage->is_render; const bool is_mat_preview = (bool)stl->storage->is_mat_preview; - const bool overlay_multiedit = v3d != NULL ? (v3d->gp_flag & V3D_GP_SHOW_MULTIEDIT_LINES) : true; + const bool overlay_multiedit = v3d != NULL ? !(v3d->gp_flag & V3D_GP_SHOW_MULTIEDIT_LINES) : + true; /* Get evaluation context */ /* NOTE: We must check if C is valid, otherwise we get crashes when trying to save files |