Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Dobarro <pablodp606@gmail.com>2020-09-03 01:34:08 +0300
committerPablo Dobarro <pablodp606@gmail.com>2020-09-03 17:47:18 +0300
commiteb82b3947e3d5883971645604011a682901b4ede (patch)
tree170838c6461a28dfc4157c157644a708275a790a
parent38737f780a7ad5e540bd0803d4e72faf7b524f51 (diff)
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
-rw-r--r--source/blender/editors/sculpt_paint/sculpt.c3
1 files changed, 0 insertions, 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;