From 7aabd74222371097353b55cad8c782c6a2a13207 Mon Sep 17 00:00:00 2001 From: Pablo Dobarro Date: Fri, 17 Jul 2020 16:44:54 +0200 Subject: 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 --- source/blender/editors/sculpt_paint/sculpt_smooth.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source') 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++) { -- cgit v1.2.3