BMesh: boolean wasn't ignoring hidden faces
Needed for editmode use
This commit is contained in:
@@ -1554,7 +1554,12 @@ bool BM_mesh_intersect(
|
||||
BMFace *f = ftable[groups_array[fg]];
|
||||
float co[3];
|
||||
int hits;
|
||||
int side = test_fn(f, user_data) == 0;
|
||||
int side = test_fn(f, user_data);
|
||||
|
||||
if (side == -1) {
|
||||
continue;
|
||||
}
|
||||
BLI_assert(ELEM(side, 0, 1));
|
||||
|
||||
// BM_face_calc_center_mean(f, co);
|
||||
BM_face_calc_point_in_face(f, co);
|
||||
|
||||
Reference in New Issue
Block a user