Fix: Boundary brush bend deformation uses wrong normals

Introduced with 4b9f286af0

Pull Request: https://projects.blender.org/blender/blender/pulls/125741
This commit is contained in:
Sean Kim
2024-08-01 02:09:06 +02:00
committed by Sean Kim
parent bfa36039c2
commit 653b273d2e

View File

@@ -888,7 +888,7 @@ static void bend_data_init(const Object &object, SculptBoundary &boundary)
Mesh &mesh = *static_cast<Mesh *>(object.data);
const Span<float3> positions_eval = BKE_pbvh_get_vert_positions(pbvh);
const Span<float3> vert_normals = mesh.vert_normals();
const Span<float3> vert_normals = BKE_pbvh_get_vert_normals(pbvh);
bend_data_init_mesh(positions_eval, vert_normals, boundary);
break;