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>2019-11-19 00:47:23 +0300
committerPablo Dobarro <pablodp606@gmail.com>2019-11-21 19:55:36 +0300
commit15f82278d5d4ca2b282cb8e5e377965cf28aaa17 (patch)
tree3baf4f638dec52fde9802699a2bb1a2ea261efe1 /source/blender/makesdna/DNA_brush_defaults.h
parent2ec9aa3b71f4ebd9676326b690aaf3049849adee (diff)
Sculpt/Paint: Dash Ratio and Dash Samples
Dash Ratio and Dash Samples are brush properties to modify the strength of the brush during a stroke. This is useful to create dashed lines in texture paint or stitches in sculpt mode. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D5949
Diffstat (limited to 'source/blender/makesdna/DNA_brush_defaults.h')
-rw-r--r--source/blender/makesdna/DNA_brush_defaults.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_brush_defaults.h b/source/blender/makesdna/DNA_brush_defaults.h
index b2d4124a348..ff1f8c9a1c0 100644
--- a/source/blender/makesdna/DNA_brush_defaults.h
+++ b/source/blender/makesdna/DNA_brush_defaults.h
@@ -72,6 +72,10 @@
\
.jitter = 0.0f, \
\
+ /* Dash */ \
+ .dash_ratio = 1.0f, \
+ .dash_samples = 20, \
+ \
.texture_sample_bias = 0, /* value to added to texture samples */ \
.texture_overlay_alpha = 33, \
.mask_overlay_alpha = 33, \