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:
authorHoward Trickey <howard.trickey@gmail.com>2020-12-13 23:54:19 +0300
committerHoward Trickey <howard.trickey@gmail.com>2020-12-14 00:04:05 +0300
commitdd0520b93b747dfc996e86fb67a1b3bd352e0325 (patch)
tree38afa944048a5a28f5e8029eba60eb6e1818d9a9 /source/blender/bmesh
parenta2693ba43e8cfb12a286f87fd2e14659822a1fd2 (diff)
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.
Diffstat (limited to 'source/blender/bmesh')
-rw-r--r--source/blender/bmesh/tools/bmesh_boolean.cc2
1 files changed, 1 insertions, 1 deletions
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));
}
}