diff options
Diffstat (limited to 'source/blender/blenloader/intern')
-rw-r--r-- | source/blender/blenloader/intern/versioning_270.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/source/blender/blenloader/intern/versioning_270.c b/source/blender/blenloader/intern/versioning_270.c index c56b25bb669..8d48bc043ca 100644 --- a/source/blender/blenloader/intern/versioning_270.c +++ b/source/blender/blenloader/intern/versioning_270.c @@ -1773,14 +1773,7 @@ void blo_do_versions_270(FileData *fd, Library *UNUSED(lib), Main *main) for (ModifierData *md = ob->modifiers.first; md; md = md->next) { if (md->type == eModifierType_SimpleDeform) { SimpleDeformModifierData *smd = (SimpleDeformModifierData *)md; - switch (smd->mode) { - case MOD_SIMPLEDEFORM_MODE_BEND: - smd->deform_axis = 0; - break; - default: - smd->deform_axis = 2; - break; - } + smd->deform_axis = 2; } } } |