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:
authorCampbell Barton <ideasman42@gmail.com>2013-12-21 21:35:52 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-12-21 21:37:26 +0400
commit158b4e61a050a25fec47a00797ab7db46fc3198c (patch)
tree8685bf78c15dc0b65477a5d6b7da29c40b599caa /source/blender/modifiers/intern/MOD_smooth.c
parent87cc890aef53c4660448b1125dc0c40a187ae1f2 (diff)
Mesh Modifiers: refactor copying using a generic function
Diffstat (limited to 'source/blender/modifiers/intern/MOD_smooth.c')
-rw-r--r--source/blender/modifiers/intern/MOD_smooth.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/source/blender/modifiers/intern/MOD_smooth.c b/source/blender/modifiers/intern/MOD_smooth.c
index 96d7d5956c5..eb8c62cfd89 100644
--- a/source/blender/modifiers/intern/MOD_smooth.c
+++ b/source/blender/modifiers/intern/MOD_smooth.c
@@ -61,13 +61,11 @@ static void initData(ModifierData *md)
static void copyData(ModifierData *md, ModifierData *target)
{
+#if 0
SmoothModifierData *smd = (SmoothModifierData *) md;
SmoothModifierData *tsmd = (SmoothModifierData *) target;
-
- tsmd->fac = smd->fac;
- tsmd->repeat = smd->repeat;
- tsmd->flag = smd->flag;
- BLI_strncpy(tsmd->defgrp_name, smd->defgrp_name, sizeof(tsmd->defgrp_name));
+#endif
+ modifier_copyData_generic(md, target);
}
static bool isDisabled(ModifierData *md, int UNUSED(useRenderParams))