Fix T79007: Smooth brushes crasing in dyntopo

The custom smooth functions for bmesh and meshes where removed and
replaced by a generic smooth function using the sculpt API, which needs
to initialize the bmesh indices in order to be used

Reviewed By: sergey

Maniphest Tasks: T79007

Differential Revision: https://developer.blender.org/D8333
This commit is contained in:
Pablo Dobarro 2020-07-17 16:44:54 +02:00
parent b453e9e3a4
commit 7aabd74222
Notes: blender-bot 2023-02-14 02:30:10 +01:00
Referenced by issue #79007, Crash: sculpting with Dyntopo + clay brush
Referenced by issue #77348, Blender LTS: Maintenance Task 2.83
1 changed files with 1 additions and 0 deletions

View File

@ -273,6 +273,7 @@ void SCULPT_smooth(Sculpt *sd,
return;
}
SCULPT_vertex_random_access_init(ss);
SCULPT_boundary_info_ensure(ob);
for (iteration = 0; iteration <= count; iteration++) {