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:
authorMatt Ebb <matt@mke3.net>2010-05-14 11:09:15 +0400
committerMatt Ebb <matt@mke3.net>2010-05-14 11:09:15 +0400
commit279885290367b8ddb7570452b664ce4df796c192 (patch)
tree5d30fe8c43f7f336557f07bf3f2b8c9727e668c4 /source/blender/modifiers/intern/MOD_simpledeform.c
parentd8856352164d1118f46eae59a60bf1c0abb36516 (diff)
Fix:
[#22310] Duplicate Does Not Propogate SimpleDeform's VGroup [#22321] duplicating object with smoke settings doesnt duplicate smoke settings ^ Genscher, you may want to check that but I thought it was pretty straightforward.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_simpledeform.c')
-rw-r--r--source/blender/modifiers/intern/MOD_simpledeform.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_simpledeform.c b/source/blender/modifiers/intern/MOD_simpledeform.c
index b71a598e24e..79190c409cc 100644
--- a/source/blender/modifiers/intern/MOD_simpledeform.c
+++ b/source/blender/modifiers/intern/MOD_simpledeform.c
@@ -283,8 +283,10 @@ static void copyData(ModifierData *md, ModifierData *target)
tsmd->mode = smd->mode;
tsmd->axis = smd->axis;
tsmd->origin= smd->origin;
+ tsmd->originOpts= smd->originOpts;
tsmd->factor= smd->factor;
memcpy(tsmd->limit, smd->limit, sizeof(tsmd->limit));
+ strcpy(tsmd->vgroup_name, smd->vgroup_name);
}
static CustomDataMask requiredDataMask(Object *ob, ModifierData *md)