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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2006-09-24 23:29:25 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2006-09-24 23:29:25 +0400
commitef7200741beaf9df968e8e8e7ef6cfed5a51ccb3 (patch)
tree3dac4fed58960e9a857a7d1382661ea6eb771c51 /source/blender/makesdna/DNA_brush_types.h
parent7f7f35d1ca75885eec6c062f9af00e4d0f39dbd0 (diff)
Basic pressure sensitivity support in imagepaint, for opacity, size,
falloff and spacing. Click the button labeled "P" next to the sliders. Works best for opacity, other options can give poor quality strokes in some cases. Also performance needs to be improved. Remember, works only on X11 and Mac, no Windows support for tablets yet.
Diffstat (limited to 'source/blender/makesdna/DNA_brush_types.h')
-rw-r--r--source/blender/makesdna/DNA_brush_types.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h
index 41df45a3d9f..40347c9834f 100644
--- a/source/blender/makesdna/DNA_brush_types.h
+++ b/source/blender/makesdna/DNA_brush_types.h
@@ -64,9 +64,13 @@ typedef struct Brush {
} Brush;
/* Brush.flag */
-#define BRUSH_AIRBRUSH 1
-#define BRUSH_TORUS 2
-#define BRUSH_FIXED_TEX 4
+#define BRUSH_AIRBRUSH 1
+#define BRUSH_TORUS 2
+#define BRUSH_ALPHA_PRESSURE 4
+#define BRUSH_SIZE_PRESSURE 8
+#define BRUSH_RAD_PRESSURE 16
+#define BRUSH_SPACING_PRESSURE 32
+#define BRUSH_FIXED_TEX 64
/* Brush.blend */
#define BRUSH_BLEND_MIX 0