From 653b273d2e2392d712bec43bf1c596a44cb71305 Mon Sep 17 00:00:00 2001 From: Sean Kim Date: Thu, 1 Aug 2024 02:09:06 +0200 Subject: [PATCH] Fix: Boundary brush bend deformation uses wrong normals Introduced with 4b9f286af0e39dc7664534aca70b35e3dff00eaa Pull Request: https://projects.blender.org/blender/blender/pulls/125741 --- source/blender/editors/sculpt_paint/sculpt_boundary.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/editors/sculpt_paint/sculpt_boundary.cc b/source/blender/editors/sculpt_paint/sculpt_boundary.cc index 2fb0acd1270..50c08a17dd2 100644 --- a/source/blender/editors/sculpt_paint/sculpt_boundary.cc +++ b/source/blender/editors/sculpt_paint/sculpt_boundary.cc @@ -888,7 +888,7 @@ static void bend_data_init(const Object &object, SculptBoundary &boundary) Mesh &mesh = *static_cast(object.data); const Span positions_eval = BKE_pbvh_get_vert_positions(pbvh); - const Span vert_normals = mesh.vert_normals(); + const Span vert_normals = BKE_pbvh_get_vert_normals(pbvh); bend_data_init_mesh(positions_eval, vert_normals, boundary); break;