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:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2010-09-22 02:23:10 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2010-09-22 02:23:10 +0400
commitaf07527d35bafe0e3dad6cac9fdc81a435db0c77 (patch)
tree97d27e3a7defc41a79f8617efaf101ca114fc3a5 /source/blender/makesdna
parent28d618e41b33fe1f351af4fa7100c84ed68a4b13 (diff)
Added support for line styles in the Graph Editor, DopeSheet
and NLA Editor.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_action_types.h1
-rw-r--r--source/blender/makesdna/DNA_linestyle_types.h5
2 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_action_types.h b/source/blender/makesdna/DNA_action_types.h
index f7bbf9235ab..d9f0f20ad52 100644
--- a/source/blender/makesdna/DNA_action_types.h
+++ b/source/blender/makesdna/DNA_action_types.h
@@ -545,6 +545,7 @@ typedef enum eDopeSheet_FilterFlag {
ADS_FILTER_NOARM = (1<<18),
ADS_FILTER_NONTREE = (1<<19),
ADS_FILTER_NOTEX = (1<<20),
+ ADS_FILTER_NOLINESTYLE = (1<<21),
/* NLA-specific filters */
ADS_FILTER_NLA_NOACT = (1<<25), /* if the AnimData block has no NLA data, don't include to just show Action-line */
diff --git a/source/blender/makesdna/DNA_linestyle_types.h b/source/blender/makesdna/DNA_linestyle_types.h
index a19bbdf1bf9..a04cbb8c79d 100644
--- a/source/blender/makesdna/DNA_linestyle_types.h
+++ b/source/blender/makesdna/DNA_linestyle_types.h
@@ -178,13 +178,18 @@ typedef struct LineStyleThicknessModifier_DistanceFromObject {
#define LS_PANEL_DISTORT 5
#define LS_PANEL_MISC 6
+/* FreestyleLineStyle::flag */
+#define LS_DS_EXPAND 1 /* for animation editors */
+
typedef struct FreestyleLineStyle {
ID id;
struct AnimData *adt;
float r, g, b, alpha;
float thickness;
+ int flag;
int panel; /* for UI */
+ int pad1;
ListBase color_modifiers;
ListBase alpha_modifiers;