Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorPablo Dobarro <pablodp606@gmail.com>2020-07-17 17:44:54 +0300
committerPablo Dobarro <pablodp606@gmail.com>2020-07-21 23:26:42 +0300
commit7aabd74222371097353b55cad8c782c6a2a13207 (patch)
tree9f6ea983fb6d786d74194be61fdc8597fb0954cf /source
parentb453e9e3a4b069cfb61b6806617fa452fe34b02d (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')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt_smooth.c1
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++) {