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-08-18 16:22:51 +0300
committerPablo Dobarro <pablodp606@gmail.com>2020-08-18 18:04:24 +0300
commitbedd6f90ca70ede59adff10aaea4d0f17bf8d0b2 (patch)
tree8827ab3e04341011e166d859e6bde315096cbf3b /source/blender/editors/sculpt_paint/sculpt_intern.h
parent0957189d4a3a8623e4e88ba63bca2e23416679b1 (diff)
Sculpt: Erase Displacement Mesh Filter
Same concept as the Multires Displacement Eraser Brush but implemented as a mesh Filter. This allows to delete the displacement of an entire area uniformly. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8608
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_intern.h')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt_intern.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h
index 6e170ad64fe..df81deeb9d4 100644
--- a/source/blender/editors/sculpt_paint/sculpt_intern.h
+++ b/source/blender/editors/sculpt_paint/sculpt_intern.h
@@ -985,6 +985,9 @@ typedef struct FilterCache {
float viewmat[4][4];
float viewmat_inv[4][4];
+ /* Displacement eraser. */
+ float (*limit_surface_co)[3];
+
/* unmasked nodes */
PBVHNode **nodes;
int totnode;