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:
Diffstat (limited to 'source/blender/makesdna/DNA_space_types.h')
-rw-r--r--source/blender/makesdna/DNA_space_types.h19
1 files changed, 15 insertions, 4 deletions
diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h
index e94364e8a65..029f7a6fca9 100644
--- a/source/blender/makesdna/DNA_space_types.h
+++ b/source/blender/makesdna/DNA_space_types.h
@@ -327,6 +327,14 @@ typedef enum eSpaceOutliner_Search_Flags {
/** \name Graph Editor
* \{ */
+typedef struct SpaceIpo_Runtime {
+ /** #eGraphEdit_Runtime_Flag */
+ char flag;
+ char _pad[7];
+ /** Sampled snapshots of F-Curves used as in-session guides */
+ ListBase ghost_curves;
+} SpaceIpo_Runtime;
+
/* 'Graph' Editor (formerly known as the IPO Editor) */
typedef struct SpaceIpo {
SpaceLink *next, *prev;
@@ -340,8 +348,6 @@ typedef struct SpaceIpo {
struct bDopeSheet *ads; /* settings for filtering animation data (NOTE: we use a pointer due to code-linking issues) */
- ListBase ghostCurves; /* sampled snapshots of F-Curves used as in-session guides */
-
short mode; /* mode for the Graph editor (eGraphEdit_Mode) */
short autosnap; /* time-transform autosnapping settings for Graph editor (eAnimEdit_AutoSnap in DNA_action_types.h) */
int flag; /* settings for Graph editor (eGraphEdit_Flag) */
@@ -350,6 +356,8 @@ typedef struct SpaceIpo {
float cursorVal; /* cursor value (y-value, x-value is current frame) */
int around; /* pivot point for transforms */
int pad;
+
+ SpaceIpo_Runtime runtime;
} SpaceIpo;
@@ -377,8 +385,6 @@ typedef enum eGraphEdit_Flag {
SIPO_NODRAWCURSOR = (1 << 8),
/* only show handles of selected keyframes */
SIPO_SELVHANDLESONLY = (1 << 9),
- /* temporary flag to force channel selections to be synced with main */
- SIPO_TEMP_NEEDCHANSYNC = (1 << 10),
/* don't perform realtime updates */
SIPO_NOREALTIMEUPDATES = (1 << 11),
/* don't draw curves with AA ("beauty-draw") for performance */
@@ -398,6 +404,11 @@ typedef enum eGraphEdit_Mode {
SIPO_MODE_DRIVERS = 1,
} eGraphEdit_Mode;
+typedef enum eGraphEdit_Runtime_Flag {
+ /** Temporary flag to force channel selections to be synced with main. */
+ SIPO_RUNTIME_FLAG_NEED_CHAN_SYNC = (1 << 0),
+} eGraphEdit_Runtime_Flag;
+
/** \} */
/* -------------------------------------------------------------------- */