diff options
-rw-r--r-- | source/blender/editors/gpencil/gpencil_edit.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/gpencil/gpencil_edit.c b/source/blender/editors/gpencil/gpencil_edit.c index 8442c906ac1..1834261e1bf 100644 --- a/source/blender/editors/gpencil/gpencil_edit.c +++ b/source/blender/editors/gpencil/gpencil_edit.c @@ -4489,6 +4489,10 @@ static int gpencil_cutter_lasso_select(bContext *C, /* dissolve selected points */ bGPDstroke *gpsn; for (bGPDlayer *gpl = gpd->layers.first; gpl; gpl = gpl->next) { + if (gpl->flag & GP_LAYER_LOCKED) { + continue; + } + bGPDframe *gpf = gpl->actframe; if (gpf == NULL) { continue; |