diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2013-04-23 04:06:22 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2013-04-23 04:06:22 +0400 |
commit | 157244b13cf61d5889f5714167c6e5468ae35b15 (patch) | |
tree | e59778ab61ab8bf8823d245e96ed99885ed5729b /source/blender/makesdna/DNA_brush_types.h | |
parent | 0d14a1414c1c36f0e887c11de137f8b32a788852 (diff) |
Add stencil control for mask overlay. Key combinations are the same as
regular stencil but use Alt as well, so Alt-Rclick is translation, Alt-
clamping to avoid scaling of stencil to zero.
Diffstat (limited to 'source/blender/makesdna/DNA_brush_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_brush_types.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h index 2ed6b29caec..c37758fb940 100644 --- a/source/blender/makesdna/DNA_brush_types.h +++ b/source/blender/makesdna/DNA_brush_types.h @@ -111,6 +111,9 @@ typedef struct Brush { float stencil_pos[2]; float stencil_dimension[2]; + + float mask_stencil_pos[2]; + float mask_stencil_dimension[2]; } Brush; /* Brush.flag */ |