[Bf-blender-cvs] [eb82b3947e3] master: Sculpt: Remove unused code in Clay Strips

Pablo Dobarro noreply at git.blender.org
Thu Sep 3 16:47:39 CEST 2020


Commit: eb82b3947e3d5883971645604011a682901b4ede
Author: Pablo Dobarro
Date:   Thu Sep 3 00:34:08 2020 +0200
Branches: master
https://developer.blender.org/rBeb82b3947e3d5883971645604011a682901b4ede

Sculpt: Remove unused code in Clay Strips

This was doing a matrix inversion per vertex per stroke step and it was
unused.

Reviewed By: sergey

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

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

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 efda90d64c7..f2eb1359af7 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -1661,9 +1661,6 @@ bool SCULPT_brush_test_cube(SculptBrushTest *test,
 {
   float side = M_SQRT1_2;
   float local_co[3];
-  float i_local[4][4];
-
-  invert_m4_m4(i_local, local);
 
   if (sculpt_brush_test_clipping(test, co)) {
     return false;



More information about the Bf-blender-cvs mailing list