[Bf-blender-cvs] [9408023a818] master: Fix T63344: broken topology after sculpting with clay strips brush

Pablo Dobarro noreply at git.blender.org
Thu Apr 25 14:34:23 CEST 2019


Commit: 9408023a81843f0c034bab117c654e11d2b7343f
Author: Pablo Dobarro
Date:   Thu Apr 25 14:07:30 2019 +0200
Branches: master
https://developer.blender.org/rB9408023a81843f0c034bab117c654e11d2b7343f

Fix T63344: broken topology after sculpting with clay strips brush

Differential Revision: https://developer.blender.org/D4710

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

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

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

diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index 5ae004fde5f..9ba7561b18b 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -3455,6 +3455,10 @@ static void do_clay_strips_brush(Sculpt *sd, Object *ob, PBVHNode **nodes, int t
     return;
   }
 
+  if (is_zero_v3(ss->cache->grab_delta_symmetry)) {
+    return;
+  }
+
   mul_v3_v3v3(temp, area_no_sp, ss->cache->scale);
   mul_v3_fl(temp, displace);
   add_v3_v3(area_co, temp);



More information about the Bf-blender-cvs mailing list