[Bf-blender-cvs] [061b59a] master: Cleanup: redundant checks
Campbell Barton
noreply at git.blender.org
Thu Jun 4 08:39:09 CEST 2015
Commit: 061b59a1d4f875ba965d67e573df3579c83352fb
Author: Campbell Barton
Date: Thu Jun 4 15:51:49 2015 +1000
Branches: master
https://developer.blender.org/rB061b59a1d4f875ba965d67e573df3579c83352fb
Cleanup: redundant checks
===================================================================
M source/blender/modifiers/intern/MOD_screw.c
===================================================================
diff --git a/source/blender/modifiers/intern/MOD_screw.c b/source/blender/modifiers/intern/MOD_screw.c
index ee23469..2e43188 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;
More information about the Bf-blender-cvs
mailing list