Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2021-12-21 07:48:31 +0300
committerHans Goudey <h.goudey@me.com>2021-12-21 07:48:31 +0300
commitc0f06ba6143fdb11aa239cbd38b93f0fefe2f6b4 (patch)
treef87fd17143e7b2aa2688712172d9b066cce38a2f /source/blender/modifiers/intern/MOD_weld.cc
parente4de5b4657d364e407db4750a0f5d9a2cf16cc26 (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/modifiers/intern/MOD_weld.cc')
-rw-r--r--source/blender/modifiers/intern/MOD_weld.cc2
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++;