diff options
author | Hans Goudey <h.goudey@me.com> | 2021-12-21 07:48:31 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-12-21 07:48:31 +0300 |
commit | c0f06ba6143fdb11aa239cbd38b93f0fefe2f6b4 (patch) | |
tree | f87fd17143e7b2aa2688712172d9b066cce38a2f /source/blender | |
parent | e4de5b4657d364e407db4750a0f5d9a2cf16cc26 (diff) |
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.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/modifiers/intern/MOD_weld.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_weld.cc b/source/blender/modifiers/intern/MOD_weld.cc index b8ae511a2cb..7a7af4e61aa 100644 --- a/source/blender/modifiers/intern/MOD_weld.cc +++ b/source/blender/modifiers/intern/MOD_weld.cc @@ -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++; |