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>2018-01-17 11:17:49 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-01-17 11:17:49 +0300
commit7935a394b7a8ab924a6431f6fb839913ea0129f6 (patch)
treed97a5aafddafa9d16fb77a9747951b8325cf745d /source/blender/blenloader/intern
parenta19e3bdad8d41cb83947ae23009fe0038a02bfaf (diff)
Correct simple deform versioning from D2989
Diffstat (limited to 'source/blender/blenloader/intern')
-rw-r--r--source/blender/blenloader/intern/versioning_270.c9
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;
}
}
}