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:
Diffstat (limited to 'source/blender/bmesh')
-rw-r--r--source/blender/bmesh/intern/bmesh_queries.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/bmesh/intern/bmesh_queries.c b/source/blender/bmesh/intern/bmesh_queries.c
index 44dc483d5a7..6c008dedd53 100644
--- a/source/blender/bmesh/intern/bmesh_queries.c
+++ b/source/blender/bmesh/intern/bmesh_queries.c
@@ -769,9 +769,9 @@ int BM_edge_is_manifold(BMEdge *e)
bool BM_edge_is_contiguous(BMEdge *e)
{
const BMLoop *l = e->l;
- const BMLoop *l_other = l->radial_next;
- return (l && (l_other != l) && /* not 0 or 1 face users */
- (l_other->radial_next == l) && /* 2 face users */
+ const BMLoop *l_other;
+ return (l && ((l_other = l->radial_next) != l) && /* not 0 or 1 face users */
+ (l_other->radial_next == l) && /* 2 face users */
(l_other->v != l->v));
}