diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2020-05-27 18:23:50 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2020-06-04 19:04:07 +0300 |
commit | 15ed2f841cdc40e489731dcae5a6aa296cce785f (patch) | |
tree | 126eaedbbcfd83d4e98fb0f3c0cd8a8a9934aac8 /source/blender/editors/sculpt_paint/sculpt_intern.h | |
parent | caca3d9c97bfa711ac22c38099068a507e712f3d (diff) |
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
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_intern.h')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_intern.h | 1 |
1 files changed, 0 insertions, 1 deletions
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; |