Fix #105681: Sculpt trim generates smooth shaded faces

Caused by 5876573e14. We need to use the old default here
explicitly.
This commit is contained in:
Hans Goudey
2023-03-15 12:29:41 -04:00
parent ed4e0b559a
commit f6f2f4f264

View File

@@ -1300,6 +1300,8 @@ static void sculpt_gesture_trim_geometry_generate(SculptGestureContext *sgcontex
loop_index += 3;
}
BKE_mesh_smooth_flag_set(trim_operation->mesh, false);
BKE_mesh_calc_edges(trim_operation->mesh, false, false);
sculpt_gesture_trim_normals_update(sgcontext);
}