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:
authorMacelaru Tiberiu <ButcherTibi>2018-07-02 19:35:50 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-07-02 21:08:42 +0300
commit2203b041e1d2d770e22e37bb4c235bc07f5e7340 (patch)
tree75c5d6c8367456bcbc24bb529102712a0cd7e5b7 /source/blender/makesrna/intern/rna_sculpt_paint.c
parent8c7ddf944e7901659c97249f3750a0071408e47e (diff)
Sculpting: add Manual detail mode for dynamic topology.
In this mode mesh detail does not change on each stroke, but only when using flood fill. Differential Revision: https://developer.blender.org/D3515
Diffstat (limited to 'source/blender/makesrna/intern/rna_sculpt_paint.c')
-rw-r--r--source/blender/makesrna/intern/rna_sculpt_paint.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_sculpt_paint.c b/source/blender/makesrna/intern/rna_sculpt_paint.c
index e68c4c284c6..6f3a1afc156 100644
--- a/source/blender/makesrna/intern/rna_sculpt_paint.c
+++ b/source/blender/makesrna/intern/rna_sculpt_paint.c
@@ -577,8 +577,10 @@ static void rna_def_sculpt(BlenderRNA *brna)
"Relative Detail", "Mesh detail is relative to the brush size and detail size"},
{SCULPT_DYNTOPO_DETAIL_CONSTANT, "CONSTANT", 0,
"Constant Detail", "Mesh detail is constant in object space according to detail size"},
- {SCULPT_DYNTOPO_DETAIL_BRUSH, "BRUSH", 0,
+ {SCULPT_DYNTOPO_DETAIL_BRUSH, "BRUSH", 0,
"Brush Detail", "Mesh detail is relative to brush radius"},
+ {SCULPT_DYNTOPO_DETAIL_MANUAL, "MANUAL", 0,
+ "Manual Detail", "Mesh detail does not change on each stroke, only when using Flood Fill"},
{0, NULL, 0, NULL, NULL}
};