Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2013-10-30 13:44:29 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2013-10-30 13:44:29 +0400
commitc241bf30a0ad192821e3844aeb1017551d8edf36 (patch)
tree2bf4b20238450b0299761a5c2339ec7f998d8f7d
parenta415d188d288513079ef8a13ca8060bf5eee2639 (diff)
Fix #37252: Mask modifier doesn't copy settings on object copy
-rw-r--r--source/blender/modifiers/intern/MOD_mask.c2
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))