diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-04-29 03:25:59 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-04-29 12:42:06 +0300 |
commit | e1ecd39f0ee2ce1139045c83b8f5e415c346570f (patch) | |
tree | cecaf0aa28b542b7b68b4d742465bf834608c695 /source/blender/bmesh/intern/bmesh_structure.c | |
parent | 728d4f296f79674accf2284543bd408fc4682df7 (diff) |
BMesh: avoid over-counting vert-edges
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_structure.c')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_structure.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/bmesh/intern/bmesh_structure.c b/source/blender/bmesh/intern/bmesh_structure.c index cf56c3b4b83..5d2eed8c753 100644 --- a/source/blender/bmesh/intern/bmesh_structure.c +++ b/source/blender/bmesh/intern/bmesh_structure.c @@ -228,7 +228,7 @@ bool bmesh_disk_validate(int len, BMEdge *e, BMVert *v) if (!BM_vert_in_edge(e, v)) return false; - if (bmesh_disk_count(v) != len || len == 0) + if (bmesh_disk_count_ex(v, len + 1) != len || len == 0) return false; e_iter = e; |