diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-12-03 02:50:10 +0300 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-12-03 02:50:10 +0300 |
commit | 1bfcba31d2e1010a912f9cd283e348b833e43a27 (patch) | |
tree | b2c546b991d4d9ee5d60e9e2fcd9afc870e28fe0 /source/blender/makesdna/DNA_freestyle_types.h | |
parent | 5eb840f910fafd0e1701f54a2713fdfcb0affa09 (diff) |
New feature edge selection criterion based on object groups.
The Freestyle tab in the Render buttons has a couple of new
options "Group" and "Group Negation". The Group option specifies
a group of objects (defined through the Groups tab in the Object
buttons), while the Group Negation value is either INCLUSIVE or
EXCLUSIVE. If INCLUSIVE, feature edges belonging to some object
in the group are selected. Otherwise, those feature edges not
belonging to any object in the group are selected.
Diffstat (limited to 'source/blender/makesdna/DNA_freestyle_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_freestyle_types.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_freestyle_types.h b/source/blender/makesdna/DNA_freestyle_types.h index 391bf825eb3..4b55a157eca 100644 --- a/source/blender/makesdna/DNA_freestyle_types.h +++ b/source/blender/makesdna/DNA_freestyle_types.h @@ -50,10 +50,12 @@ struct FreestyleLineStyle; #define FREESTYLE_LINESET_ENABLED 2 #define FREESTYLE_LINESET_FE_NOT 4 #define FREESTYLE_LINESET_FE_AND 8 +#define FREESTYLE_LINESET_GR_NOT 16 /* FreestyleLineSet::selection */ #define FREESTYLE_SEL_VISIBILITY 1 #define FREESTYLE_SEL_EDGE_TYPES 2 +#define FREESTYLE_SEL_GROUP 4 /* FreestyleLineSet::fedge_types */ #define FREESTYLE_FE_SILHOUETTE 1 @@ -82,11 +84,10 @@ typedef struct FreestyleLineSet { short pad1; int qi_start, qi_end; int edge_types; /* feature edge types */ + struct Group *group; /* group of target objects */ struct FreestyleLineStyle *linestyle; - ListBase objects; /* target objects on which stylized lines are drawn */ - } FreestyleLineSet; typedef struct FreestyleModuleConfig { |