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:
authorAntony Riakiotakis <kalast@gmail.com>2013-04-22 14:46:01 +0400
committerAntony Riakiotakis <kalast@gmail.com>2013-04-22 14:46:01 +0400
commitc0eadedb7061ac9f69b3f8ecf5fd675d6a22221c (patch)
tree90000d4bf57d3e687cbe7548a374d17dfeb78fce /source/blender/makesdna
parent53479be58105155c319b7862c0e2c2d45415846d (diff)
Support more mapping modes for alpha masks. Tiled, stencil and random
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_scene_types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index e5127e51d13..eb8c8138e85 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -914,6 +914,10 @@ typedef struct UnifiedPaintSettings {
/* position of mouse, used to sample the texture */
float tex_mouse[2];
+
+ /* position of mouse, used to sample the mask texture */
+ float mask_tex_mouse[2];
+
/* radius of brush, premultiplied with pressure.
* In case of anchored brushes contains that radius */
float pixel_radius;