Fix build error in debug builds from recent commit

r7acd3ad7d8e58b913c5 converted a pointer to a reference,
but an assert still compares the variable to a pointer.
This commit is contained in:
Hans Goudey
2021-12-20 22:48:31 -06:00
parent e4de5b4657
commit c0f06ba614

View File

@@ -1210,7 +1210,7 @@ static void weld_poly_loop_ctx_setup(Span<MLoop> mloop,
BLI_assert(p_ctx_a > i);
BLI_assert(p_ctx_a == p_ctx_b);
BLI_assert(wp_tmp->poly_dst == OUT_OF_CONTEXT);
BLI_assert(wp_tmp != wp);
BLI_assert(wp_tmp != &wp);
wp_tmp->poly_dst = wp.poly_orig;
loop_kill_len += wp_tmp->len;
poly_kill_len++;