Gpencil: Fix missing change in previous commit

This was related to the changes for Layer and Frame duplication.
This commit is contained in:
Antonio Vazquez
2021-01-21 16:04:12 +01:00
parent cfd54ad7d7
commit b32e8e5ba7

View File

@@ -2862,7 +2862,7 @@ int ED_gpencil_join_objects_exec(bContext *C, wmOperator *op)
mul_v3_m3v3(offset_local, imat, offset_global);
LISTBASE_FOREACH (bGPDlayer *, gpl_src, &gpd_src->layers) {
bGPDlayer *gpl_new = BKE_gpencil_layer_duplicate(gpl_src);
bGPDlayer *gpl_new = BKE_gpencil_layer_duplicate(gpl_src, true, true);
float diff_mat[4][4];
float inverse_diff_mat[4][4];