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-23 04:06:22 +0400
committerAntony Riakiotakis <kalast@gmail.com>2013-04-23 04:06:22 +0400
commit157244b13cf61d5889f5714167c6e5468ae35b15 (patch)
treee59778ab61ab8bf8823d245e96ed99885ed5729b /source/blender/makesdna
parent0d14a1414c1c36f0e887c11de137f8b32a788852 (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')
-rw-r--r--source/blender/makesdna/DNA_brush_types.h3
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 */