GPencil: Multiframe Show only Edit lines was inverted

The flag was working in the oposite mode.

Related to T70116
This commit is contained in:
Antonio Vazquez 2019-09-20 15:56:46 +02:00
parent db7b3de918
commit c4cc4b5794
1 changed files with 2 additions and 1 deletions

View File

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