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>2018-12-10 03:46:36 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-12-10 04:19:18 +0300
commit9df2b6da3a718323dbe9431c5a4b43fc309fa4b9 (patch)
treec6e65efa197bfe184811dfaa0b6b9d12d9ca52e8 /source/blender/makesdna/DNA_action_types.h
parentd7ef1af22bf48f00607ba86e1344e1467e6e5e53 (diff)
DNA: add runtime struct to for graph & action editor
Move struct members, no functional change
Diffstat (limited to 'source/blender/makesdna/DNA_action_types.h')
-rw-r--r--source/blender/makesdna/DNA_action_types.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_action_types.h b/source/blender/makesdna/DNA_action_types.h
index bcb92cccecd..aa39d53e62b 100644
--- a/source/blender/makesdna/DNA_action_types.h
+++ b/source/blender/makesdna/DNA_action_types.h
@@ -648,6 +648,11 @@ typedef enum eDopeSheet_Flag {
+typedef struct SpaceAction_Runtime {
+ char flag;
+ char _pad0[7];
+} SpaceAction_Runtime;
+
/* Action Editor Space. This is defined here instead of in DNA_space_types.h */
typedef struct SpaceAction {
struct SpaceLink *next, *prev;
@@ -665,6 +670,8 @@ 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? */
+
+ SpaceAction_Runtime runtime;
} SpaceAction;
/* SpaceAction flag */
@@ -687,14 +694,19 @@ typedef enum eSAction_Flag {
SACTION_NODRAWGCOLORS = (1 << 7),
/* don't draw current frame number beside frame indicator */
SACTION_NODRAWCFRANUM = (1 << 8),
- /* temporary flag to force channel selections to be synced with main */
- SACTION_TEMP_NEEDCHANSYNC = (1 << 9),
/* don't perform realtime updates */
SACTION_NOREALTIMEUPDATES = (1 << 10),
/* move markers as well as keyframes */
SACTION_MARKERS_MOVE = (1 << 11)
} eSAction_Flag;
+
+/* SpaceAction_Runtime.flag */
+typedef enum eSAction_Runtime_Flag {
+ /** Temporary flag to force channel selections to be synced with main */
+ SACTION_RUNTIME_FLAG_NEED_CHAN_SYNC = (1 << 0),
+} eSAction_Runtime_Flag;
+
/* SpaceAction Mode Settings */
typedef enum eAnimEdit_Context {
/* action on the active object */