Commit: c0f06ba6143fdb11aa239cbd38b93f0fefe2f6b4
Author: Hans Goudey
Date:   Mon Dec 20 22:48:31 2021 -0600
Branches: master
https://developer.blender.org/rBc0f06ba6143fdb11aa239cbd38b93f0fefe2f6b4

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.

===================================================================

M       source/blender/modifiers/intern/MOD_weld.cc

===================================================================

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++;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to