Correct own error in recent sculpt changes
mixed up squared nonsquared length, also remove invalid verify check.
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user