From eb82b3947e3d5883971645604011a682901b4ede Mon Sep 17 00:00:00 2001 From: Pablo Dobarro Date: Thu, 3 Sep 2020 00:34:08 +0200 Subject: 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 --- source/blender/editors/sculpt_paint/sculpt.c | 3 --- 1 file changed, 3 deletions(-) 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; -- cgit v1.2.3