From 15ed2f841cdc40e489731dcae5a6aa296cce785f Mon Sep 17 00:00:00 2001 From: Pablo Dobarro Date: Wed, 27 May 2020 17:23:50 +0200 Subject: Fix Sharpen mesh filter in Multires Instead of accumulating displacement for each vertex into the neighbors, accumulate the opposite displacement from each neighbor into the vertex. I think this is the same and it does not produce artifacts in Multires. Reviewed By: sergey, brecht Differential Revision: https://developer.blender.org/D7508 --- source/blender/editors/sculpt_paint/sculpt_intern.h | 1 - 1 file changed, 1 deletion(-) (limited to 'source/blender/editors/sculpt_paint/sculpt_intern.h') diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h index d7b221ae947..50808b04276 100644 --- a/source/blender/editors/sculpt_paint/sculpt_intern.h +++ b/source/blender/editors/sculpt_paint/sculpt_intern.h @@ -834,7 +834,6 @@ typedef struct FilterCache { /* Sharpen mesh filter. */ float sharpen_smooth_ratio; float *sharpen_factor; - float (*accum_disp)[3]; /* unmasked nodes */ PBVHNode **nodes; -- cgit v1.2.3