diff options
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_data.c')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_data.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/gpencil/gpencil_data.c b/source/blender/editors/gpencil/gpencil_data.c index c22e3bda0b1..34beceddfa2 100644 --- a/source/blender/editors/gpencil/gpencil_data.c +++ b/source/blender/editors/gpencil/gpencil_data.c @@ -840,6 +840,10 @@ static int gp_hide_exec(bContext *C, wmOperator *op) if (gpl != layer) { gpl->flag |= GP_LAYER_HIDE; } + else { + /* Be sure the active layer is unhidden. */ + gpl->flag &= ~GP_LAYER_HIDE; + } } } else { |