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_screw.c')
-rw-r--r--source/blender/modifiers/intern/MOD_screw.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/source/blender/modifiers/intern/MOD_screw.c b/source/blender/modifiers/intern/MOD_screw.c
index 640ed926908..9e5b4fad439 100644
--- a/source/blender/modifiers/intern/MOD_screw.c
+++ b/source/blender/modifiers/intern/MOD_screw.c
@@ -124,17 +124,11 @@ static void initData(ModifierData *md)
static void copyData(ModifierData *md, ModifierData *target)
{
+#if 0
ScrewModifierData *sltmd = (ScrewModifierData *) md;
ScrewModifierData *tltmd = (ScrewModifierData *) target;
-
- tltmd->ob_axis = sltmd->ob_axis;
- tltmd->angle = sltmd->angle;
- tltmd->axis = sltmd->axis;
- tltmd->flag = sltmd->flag;
- tltmd->steps = sltmd->steps;
- tltmd->render_steps = sltmd->render_steps;
- tltmd->screw_ofs = sltmd->screw_ofs;
- tltmd->iter = sltmd->iter;
+#endif
+ modifier_copyData_generic(md, target);
}
static DerivedMesh *applyModifier(ModifierData *md, Object *ob,