diff --git a/source/blender/editors/sculpt_paint/sculpt_trim.cc b/source/blender/editors/sculpt_paint/sculpt_trim.cc index 894840f8318..704213013da 100644 --- a/source/blender/editors/sculpt_paint/sculpt_trim.cc +++ b/source/blender/editors/sculpt_paint/sculpt_trim.cc @@ -364,7 +364,7 @@ static void generate_geometry(gesture::GestureData &gesture_data) get_origin_and_normal(gesture_data, shape_origin, shape_normal); plane_from_point_normal_v3(shape_plane, shape_origin, shape_normal); - const float (*ob_imat)[4] = vc.obact->world_to_object().ptr(); + const float(*ob_imat)[4] = vc.obact->world_to_object().ptr(); /* Write vertices coordinates OperationType::Difference for the front face. */ MutableSpan positions = trim_operation->mesh->vert_positions_for_write(); @@ -450,7 +450,7 @@ static void generate_geometry(gesture::GestureData &gesture_data) /* Get the triangulation for the front/back poly. */ const int face_tris_num = bke::mesh::face_triangles_num(screen_points.size()); Array tris(face_tris_num); - BLI_polyfill_calc(reinterpret_cast(screen_points.data()), + BLI_polyfill_calc(reinterpret_cast(screen_points.data()), screen_points.size(), 0, reinterpret_cast(tris.data())); diff --git a/tests/data b/tests/data index 9323581121d..5d97e35c3b7 160000 --- a/tests/data +++ b/tests/data @@ -1 +1 @@ -Subproject commit 9323581121dae4867563c9529a0375f390bfbffc +Subproject commit 5d97e35c3b789b85d0601f77738d27bc9335ddb8