diff --git a/source/blender/editors/animation/anim_filter.cc b/source/blender/editors/animation/anim_filter.cc index c6407e36dc3..0bb75ab1f73 100644 --- a/source/blender/editors/animation/anim_filter.cc +++ b/source/blender/editors/animation/anim_filter.cc @@ -1776,7 +1776,7 @@ static size_t animdata_filter_grease_pencil_layer(ListBase *anim_data, } /* Only if the layer is editable. */ - if ((filter_mode & ANIMFILTER_FOREDIT) && !layer.is_locked()) { + if ((filter_mode & ANIMFILTER_FOREDIT) && layer.is_locked()) { return items; }