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:
authorCampbell Barton <ideasman42@gmail.com>2012-05-31 16:12:28 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-31 16:12:28 +0400
commit744360479060be75df955bef48987324eb8eec58 (patch)
tree5e64e0ebac4bbc9eef06299c5733a7284fea7ead /source/blender/makesdna
parent3c194601f47f11f0d8f0c582f01901a089996619 (diff)
mask object blending and alpha options
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_mask_types.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_mask_types.h b/source/blender/makesdna/DNA_mask_types.h
index d427e1561cb..d677239e300 100644
--- a/source/blender/makesdna/DNA_mask_types.h
+++ b/source/blender/makesdna/DNA_mask_types.h
@@ -108,10 +108,14 @@ typedef struct MaskObject {
struct MaskSpline *act_spline; /* active spline */
struct MaskSplinePoint *act_point; /* active point */
+ /* blending options */
float alpha;
+ char blend;
+ char blend_flag;
+
//char flag; /* not used yet */
char restrictflag; /* matching 'Object' flag of the same name - eventually use in the outliner */
- char pad[3];
+ char pad[1];
} MaskObject;
/* MaskParent->flag */
@@ -144,4 +148,16 @@ enum {
MASK_DT_WHITE
};
+/* maskobj->blend */
+enum {
+ MASK_BLEND_ADD = 0,
+ MASK_BLEND_SUBTRACT = 1
+};
+
+/* maskobj->blend_flag */
+enum {
+ MASK_BLENDFLAG_INVERT = (1 << 0)
+};
+
+
#endif // __DNA_MASK_TYPES_H__