[Bf-blender-cvs] [dd0520b93b7] master: Fix T83725 Inconsistent vertex group between exact and fast boolean.

Howard Trickey noreply at git.blender.org
Sun Dec 13 22:04:10 CET 2020


Commit: dd0520b93b747dfc996e86fb67a1b3bd352e0325
Author: Howard Trickey
Date:   Sun Dec 13 15:54:19 2020 -0500
Branches: master
https://developer.blender.org/rBdd0520b93b747dfc996e86fb67a1b3bd352e0325

Fix T83725 Inconsistent vertex group between exact and fast boolean.

This makes the exact boolean have zero weights for any vertex groups
on any newly created vertices, which is what the fast solver does.

The exact boolean solver was interpolating vertex data when interpolating
loop data in newly created faces. Not sure why I chose that. The Fast
boolean solver doesn't do that, so I stopped doing it too.

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

M	source/blender/bmesh/tools/bmesh_boolean.cc

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

diff --git a/source/blender/bmesh/tools/bmesh_boolean.cc b/source/blender/bmesh/tools/bmesh_boolean.cc
index bfb093c569f..ea5d66e195c 100644
--- a/source/blender/bmesh/tools/bmesh_boolean.cc
+++ b/source/blender/bmesh/tools/bmesh_boolean.cc
@@ -296,7 +296,7 @@ static bool apply_mesh_output_to_bmesh(BMesh *bm, IMesh &m_out, bool keep_hidden
         BMIter liter;
         BMLoop *l = static_cast<BMLoop *>(BM_iter_new(&liter, bm, BM_LOOPS_OF_FACE, bmf));
         while (l != nullptr) {
-          BM_loop_interp_from_face(bm, l, orig_face, true, true);
+          BM_loop_interp_from_face(bm, l, orig_face, false, true);
           l = static_cast<BMLoop *>(BM_iter_step(&liter));
         }
       }



More information about the Bf-blender-cvs mailing list