diff options
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/gpencil_modifier.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/gpencil_modifier.c b/source/blender/blenkernel/intern/gpencil_modifier.c index 9c546cc118a..33410b4521e 100644 --- a/source/blender/blenkernel/intern/gpencil_modifier.c +++ b/source/blender/blenkernel/intern/gpencil_modifier.c @@ -28,6 +28,7 @@ #include "DNA_screen_types.h" #include "BKE_colortools.h" +#include "BKE_deform.h" #include "BKE_gpencil.h" #include "BKE_gpencil_geom.h" #include "BKE_gpencil_modifier.h" @@ -632,6 +633,8 @@ static bGPdata *gpencil_copy_structure_for_eval(bGPdata *gpd) gpd_eval->mat = MEM_dupallocN(gpd->mat); } + BKE_defgroup_copy_list(&gpd_eval->vertex_group_names, &gpd->vertex_group_names); + /* Duplicate structure: layers and frames without strokes. */ LISTBASE_FOREACH (bGPDlayer *, gpl_orig, &gpd->layers) { bGPDlayer *gpl_eval = BKE_gpencil_layer_duplicate(gpl_orig, true, false); |