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>2013-07-14 17:18:05 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-07-14 17:18:05 +0400
commit83a172e40c50c630b7bdd58b0b4a24a1f4284bfa (patch)
tree5c73455d7d8c161cd564e40cf5f8e72af9259e35 /source/blender/modifiers
parentcad3406c812bf2b2c8d2994a68db0e9a68071268 (diff)
fix for case where negative index was used when rendering particles with UV's, also removed redundant array check.
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r--source/blender/modifiers/intern/MOD_screw.c2
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 0d098db3203..0dd2f2770a4 100644
--- a/source/blender/modifiers/intern/MOD_screw.c
+++ b/source/blender/modifiers/intern/MOD_screw.c
@@ -646,7 +646,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob,
else {
/* only 1 edge connected - same as above except
* don't need to average edge direction */
- if (vc->e && vc->e[0]->v2 == i) {
+ if (vc->e[0]->v2 == i) {
sub_v3_v3v3(tmp_vec1, mvert_new[i].co, mvert_new[vc->v[0]].co);
}
else {