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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user