Fix T81799: Enable use self in trimming tool booleans
This enables self intersections in the sculpt trimming tools boolean operations. This should fix wrong booleans results after using the operator to add new disconnected geometry with the join mode. Reviewed By: sergey Maniphest Tasks: T81799 Differential Revision: https://developer.blender.org/D9423
This commit is contained in:
parent
e836c806e4
commit
c9fb25342b
Notes:
blender-bot
2023-12-08 16:39:08 +01:00
Referenced by issue #81799, scultp mode: Box trim brush fails when using difference option
|
@ -1161,7 +1161,7 @@ static void sculpt_gesture_apply_trim(SculptGestureContext *sgcontext)
|
|||
BLI_assert(false);
|
||||
break;
|
||||
}
|
||||
BM_mesh_boolean(bm, looptris, tottri, bm_face_isect_pair, NULL, 2, false, boolean_mode);
|
||||
BM_mesh_boolean(bm, looptris, tottri, bm_face_isect_pair, NULL, 2, true, boolean_mode);
|
||||
}
|
||||
|
||||
Mesh *result = BKE_mesh_from_bmesh_for_eval_nomain(bm, NULL, sculpt_mesh);
|
||||
|
|
Loading…
Reference in New Issue