BMesh: editmode booleans ignored when no faces cut
For the intersect tool this made sense, but booleans can use cuts which overlap edges exactly.
This commit is contained in:
parent
189032c724
commit
ebf9d315c4
Notes:
blender-bot
2023-02-14 08:22:54 +01:00
Referenced by issue #46968, Bmesh Editmode Booleanss; Missing faces when subtracting many islands from a cube
|
@ -956,6 +956,7 @@ static int isect_bvhtree_point_v3(
|
|||
*
|
||||
* \param test_fn Return value: -1: skip, 0: tree_a, 1: tree_b (use_self == false)
|
||||
* \param boolean_mode -1: no-boolean, 0: intersection... see #BMESH_ISECT_BOOLEAN_ISECT.
|
||||
* \return true if the mesh is changed (intersections cut or faces removed from boolean).
|
||||
*/
|
||||
bool BM_mesh_intersect(
|
||||
BMesh *bm,
|
||||
|
@ -1673,5 +1674,5 @@ bool BM_mesh_intersect(
|
|||
|
||||
BLI_memarena_free(s.mem_arena);
|
||||
|
||||
return has_isect;
|
||||
return has_isect || (totface_orig != bm->totface);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue