diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-01-17 11:17:49 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-01-17 11:17:49 +0300 |
commit | 7935a394b7a8ab924a6431f6fb839913ea0129f6 (patch) | |
tree | d97a5aafddafa9d16fb77a9747951b8325cf745d | |
parent | a19e3bdad8d41cb83947ae23009fe0038a02bfaf (diff) |
Correct simple deform versioning from D2989
-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; } } } |