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-05-27 18:23:50 +0300
committerPablo Dobarro <pablodp606@gmail.com>2020-06-04 19:04:07 +0300
commit15ed2f841cdc40e489731dcae5a6aa296cce785f (patch)
tree126eaedbbcfd83d4e98fb0f3c0cd8a8a9934aac8 /source/blender/editors/sculpt_paint/sculpt_intern.h
parentcaca3d9c97bfa711ac22c38099068a507e712f3d (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.h1
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;