diff options
author | Joshua Leung <aligorith@gmail.com> | 2018-04-19 17:04:26 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2018-04-20 19:54:40 +0300 |
commit | b2eb76cd50c98b6964ade51a486d31e8b40110dd (patch) | |
tree | 910ea1279b0434b76f83a22a88aab7587591054c /source/blender/makesdna/DNA_action_types.h | |
parent | cc06e0fbe8bf122a7f1688342f9e80df3be8502f (diff) |
Dopesheet-Timeline: Ported over cache indicator drawing + settings used to control their visibility
These now live in the action editor/dopesheet related files.
Apart from these, the timeline didn't actually have other settings
of its own that were of any interest to anyone.
Diffstat (limited to 'source/blender/makesdna/DNA_action_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_action_types.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_action_types.h b/source/blender/makesdna/DNA_action_types.h index f08199ad957..3c035ae0bc8 100644 --- a/source/blender/makesdna/DNA_action_types.h +++ b/source/blender/makesdna/DNA_action_types.h @@ -680,6 +680,9 @@ typedef struct SpaceAction { char mode, autosnap; /* mode: editing context; autosnap: automatic keyframe snapping mode */ short flag; /* flag: bitmapped settings; */ float timeslide; /* for Time-Slide transform mode drawing - current frame? */ + + int cache_display; /* (eTimeline_Cache_Flag) */ + int pad; } SpaceAction; /* SpaceAction flag */ @@ -744,6 +747,17 @@ typedef enum eAnimEdit_AutoSnap { SACTSNAP_TSTEP = 5 } eAnimEdit_AutoSnap; +/* SAction->cache_display */ +typedef enum eTimeline_Cache_Flag { + TIME_CACHE_DISPLAY = (1 << 0), + TIME_CACHE_SOFTBODY = (1 << 1), + TIME_CACHE_PARTICLES = (1 << 2), + TIME_CACHE_CLOTH = (1 << 3), + TIME_CACHE_SMOKE = (1 << 4), + TIME_CACHE_DYNAMICPAINT = (1 << 5), + TIME_CACHE_RIGIDBODY = (1 << 6), +} eTimeline_Cache_Flag; + /* ************************************************ */ /* Legacy Data */ |