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:
Diffstat (limited to 'source/blender/modifiers/intern/MOD_subsurf.c')
-rw-r--r--source/blender/modifiers/intern/MOD_subsurf.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/source/blender/modifiers/intern/MOD_subsurf.c b/source/blender/modifiers/intern/MOD_subsurf.c
index 4e2656bbf00..3de85047ebf 100644
--- a/source/blender/modifiers/intern/MOD_subsurf.c
+++ b/source/blender/modifiers/intern/MOD_subsurf.c
@@ -60,13 +60,15 @@ static void initData(ModifierData *md)
static void copyData(ModifierData *md, ModifierData *target)
{
+#if 0
SubsurfModifierData *smd = (SubsurfModifierData *) md;
+#endif
SubsurfModifierData *tsmd = (SubsurfModifierData *) target;
- tsmd->flags = smd->flags;
- tsmd->levels = smd->levels;
- tsmd->renderLevels = smd->renderLevels;
- tsmd->subdivType = smd->subdivType;
+ modifier_copyData_generic(md, target);
+
+ tsmd->emCache = tsmd->mCache = NULL;
+
}
static void freeData(ModifierData *md)