diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-07-13 18:16:59 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-07-13 18:16:59 +0400 |
commit | 1c15beb6b225826c0a0d83d4df58a0bac7ce0ed5 (patch) | |
tree | f6a783323a6f1d8d2375ff4f7fbe8523dd1141e9 /source/blender/modifiers/intern/MOD_screw.c | |
parent | 0ea078ad03b53d860a427dbf8cad1b7f8002dd7c (diff) |
remove NULL checks on fixed size arrays, also was calling BLI_testextensie_glob every time in the file selector with a blank string.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_screw.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_screw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_screw.c b/source/blender/modifiers/intern/MOD_screw.c index 5faa1ecdaac..0d098db3203 100644 --- a/source/blender/modifiers/intern/MOD_screw.c +++ b/source/blender/modifiers/intern/MOD_screw.c @@ -636,7 +636,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, * * Use the edge order to make the subtraction, flip the normal the right way * edge should be there but check just in case... */ - if (vc->e && vc->e[0]->v1 == i) { + if (vc->e[0]->v1 == i) { sub_v3_v3(tmp_vec1, tmp_vec2); } else { |