diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-09-12 19:10:59 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-09-12 19:10:59 +0400 |
commit | f7243ece0735ff27b81a267459bba075c51a0302 (patch) | |
tree | 6b9cba8ad9359df344b65ec745a3f55f7dc74ad5 /source/blender/editors/mesh/loopcut.c | |
parent | a04003d6480464327686d892f88ef549d0089b36 (diff) |
remove redundant casts
Diffstat (limited to 'source/blender/editors/mesh/loopcut.c')
-rw-r--r-- | source/blender/editors/mesh/loopcut.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/loopcut.c b/source/blender/editors/mesh/loopcut.c index 1f13edadd2e..9c679f2c985 100644 --- a/source/blender/editors/mesh/loopcut.c +++ b/source/blender/editors/mesh/loopcut.c @@ -162,9 +162,9 @@ static void edgering_find_order(BMEditMesh *em, BMEdge *lasteed, BMEdge *eed, } l2 = BM_OtherFaceLoop(l->e, l->f, eed->v1); - rev = (l2 == (BMLoop*)l->prev); + rev = (l2 == l->prev); while (l2->v != lasteed->v1 && l2->v != lasteed->v2) { - l2 = rev ? (BMLoop*)l2->prev : (BMLoop*)l2->next; + l2 = rev ? l2->prev : l2->next; } if (l2->v == lastv1) { |