diff options
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_edit.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/editors/gpencil/gpencil_edit.c b/source/blender/editors/gpencil/gpencil_edit.c index 3da75a665a2..02b9fb6549b 100644 --- a/source/blender/editors/gpencil/gpencil_edit.c +++ b/source/blender/editors/gpencil/gpencil_edit.c @@ -4618,11 +4618,7 @@ static int gpencil_stroke_separate_exec(bContext *C, wmOperator *op) /* add layer if not created before */ if (gpl_dst == NULL) { gpl_dst = BKE_gpencil_layer_addnew(gpd_dst, gpl->info, false, false); - gpl_dst->line_change = gpl->line_change; - copy_v4_v4(gpl_dst->tintcolor, gpl->tintcolor); - gpl_dst->opacity = gpl->opacity; - gpl_dst->blend_mode = gpl->blend_mode; - gpl_dst->vertex_paint_opacity = gpl->vertex_paint_opacity; + BKE_gpencil_layer_copy_settings(gpl, gpl_dst); } /* add frame if not created before */ |