[Bf-blender-cvs] [7aabd742223] master: Fix T79007: Smooth brushes crasing in dyntopo

Pablo Dobarro noreply at git.blender.org
Tue Jul 21 22:27:02 CEST 2020


Commit: 7aabd74222371097353b55cad8c782c6a2a13207
Author: Pablo Dobarro
Date:   Fri Jul 17 16:44:54 2020 +0200
Branches: master
https://developer.blender.org/rB7aabd74222371097353b55cad8c782c6a2a13207

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

===================================================================

M	source/blender/editors/sculpt_paint/sculpt_smooth.c

===================================================================

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++) {



More information about the Bf-blender-cvs mailing list