diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-06-04 08:51:49 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-06-04 08:51:49 +0300 |
commit | 061b59a1d4f875ba965d67e573df3579c83352fb (patch) | |
tree | 3b7062b941ea880b67fe2412f1a641d310d8c72f /source/blender/modifiers/intern/MOD_screw.c | |
parent | 81e3deadea05a847d5e6c899c72218e719d122bd (diff) |
Cleanup: redundant checks
Diffstat (limited to 'source/blender/modifiers/intern/MOD_screw.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_screw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_screw.c b/source/blender/modifiers/intern/MOD_screw.c index ee23469a131..2e431884845 100644 --- a/source/blender/modifiers/intern/MOD_screw.c +++ b/source/blender/modifiers/intern/MOD_screw.c @@ -158,9 +158,9 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, }; const int quad_ord_ofs[4] = { do_flip ? 2 : 0, - do_flip ? 1 : 1, + 1, do_flip ? 0 : 2, - do_flip ? 3 : 3, + 3, }; unsigned int maxVerts = 0, maxEdges = 0, maxPolys = 0; |