diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-04-26 20:34:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-04-26 20:34:13 +0300 |
commit | 24448e11fb4cdaaef3f1b2652e69d57bb903fcc1 (patch) | |
tree | 5d2eb410d0f6f520cdba53c97eb1bcb6330c592f | |
parent | cf366c8b6686bae79aeccbdecdbef2472ff77923 (diff) |
Correct own error in recent sculpt changes
mixed up squared nonsquared length, also remove invalid verify check.
-rw-r--r-- | source/blender/blenkernel/intern/pbvh_bmesh.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/source/blender/blenkernel/intern/pbvh_bmesh.c b/source/blender/blenkernel/intern/pbvh_bmesh.c index bc193b74343..02b8cdba05b 100644 --- a/source/blender/blenkernel/intern/pbvh_bmesh.c +++ b/source/blender/blenkernel/intern/pbvh_bmesh.c @@ -799,7 +799,7 @@ static void long_edge_queue_face_add( if (len_sq > eq_ctx->q->limit_len_squared) { long_edge_queue_edge_add_recursive( eq_ctx, l_iter->radial_next, l_iter, - len_sq, eq_ctx->q->limit_len_squared); + len_sq, eq_ctx->q->limit_len); } #else long_edge_queue_edge_add(eq_ctx, l_iter->e); @@ -1051,11 +1051,6 @@ static bool pbvh_bmesh_subdivide_long_edges( { bool any_subdivided = false; -#ifdef USE_EDGEQUEUE_TAG_VERIFY - pbvh_bmesh_edge_tag_verify(bvh); -#endif - - while (!BLI_heap_is_empty(eq_ctx->q->heap)) { BMVert **pair = BLI_heap_popmin(eq_ctx->q->heap); BMVert *v1 = pair[0], *v2 = pair[1]; |