diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2020-07-17 17:44:54 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2020-07-21 23:26:42 +0300 |
commit | 7aabd74222371097353b55cad8c782c6a2a13207 (patch) | |
tree | 9f6ea983fb6d786d74194be61fdc8597fb0954cf /source/blender/editors/sculpt_paint/sculpt_smooth.c | |
parent | b453e9e3a4b069cfb61b6806617fa452fe34b02d (diff) |
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
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_smooth.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_smooth.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_smooth.c b/source/blender/editors/sculpt_paint/sculpt_smooth.c index a616df0a64a..1a699c91e9b 100644 --- a/source/blender/editors/sculpt_paint/sculpt_smooth.c +++ b/source/blender/editors/sculpt_paint/sculpt_smooth.c @@ -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++) { |