diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-10-30 13:44:29 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-10-30 13:44:29 +0400 |
commit | c241bf30a0ad192821e3844aeb1017551d8edf36 (patch) | |
tree | 2bf4b20238450b0299761a5c2339ec7f998d8f7d /source/blender/modifiers/intern/MOD_mask.c | |
parent | a415d188d288513079ef8a13ca8060bf5eee2639 (diff) |
Fix #37252: Mask modifier doesn't copy settings on object copy
Diffstat (limited to 'source/blender/modifiers/intern/MOD_mask.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_mask.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_mask.c b/source/blender/modifiers/intern/MOD_mask.c index 0d302fed3e6..2822cf6925b 100644 --- a/source/blender/modifiers/intern/MOD_mask.c +++ b/source/blender/modifiers/intern/MOD_mask.c @@ -62,6 +62,8 @@ static void copyData(ModifierData *md, ModifierData *target) BLI_strncpy(tmmd->vgroup, mmd->vgroup, sizeof(tmmd->vgroup)); tmmd->flag = mmd->flag; + tmmd->mode = mmd->mode; + tmmd->ob_arm = mmd->ob_arm; } static CustomDataMask requiredDataMask(Object *UNUSED(ob), ModifierData *UNUSED(md)) |