[Bf-blender-cvs] [7935a394b7a] master: Correct simple deform versioning from D2989
Campbell Barton
noreply at git.blender.org
Wed Jan 17 09:09:38 CET 2018
Commit: 7935a394b7a8ab924a6431f6fb839913ea0129f6
Author: Campbell Barton
Date: Wed Jan 17 19:17:49 2018 +1100
Branches: master
https://developer.blender.org/rB7935a394b7a8ab924a6431f6fb839913ea0129f6
Correct simple deform versioning from D2989
===================================================================
M source/blender/blenloader/intern/versioning_270.c
===================================================================
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;
}
}
}
More information about the Bf-blender-cvs
mailing list