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>2019-02-16 02:16:16 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-02-16 02:23:40 +0300
commit419911b1d19ceeb87cd1c0a7b78f0133bee4a6cd (patch)
tree0c57d32c290988de6a39df0819828b43b626f7c7 /source/blender/makesdna
parent374cbdc63bde61d590340b824039f6aa892c79e7 (diff)
DNA: rename SpaceIpo -> SpaceGraph
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_space_types.h16
-rw-r--r--source/blender/makesdna/intern/dna_rename_defs.h1
2 files changed, 9 insertions, 8 deletions
diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h
index 62351b725d7..5aaf2184cb0 100644
--- a/source/blender/makesdna/DNA_space_types.h
+++ b/source/blender/makesdna/DNA_space_types.h
@@ -48,7 +48,7 @@ struct MovieClip;
struct MovieClipScopes;
struct Scopes;
struct Script;
-struct SpaceIpo;
+struct SpaceGraph;
struct Text;
struct bDopeSheet;
struct bGPdata;
@@ -359,16 +359,16 @@ typedef enum eSpaceOutliner_Search_Flags {
/** \name Graph Editor
* \{ */
-typedef struct SpaceIpo_Runtime {
+typedef struct SpaceGraph_Runtime {
/** #eGraphEdit_Runtime_Flag */
char flag;
char _pad[7];
/** Sampled snapshots of F-Curves used as in-session guides */
ListBase ghost_curves;
-} SpaceIpo_Runtime;
+} SpaceGraph_Runtime;
/* 'Graph' Editor (formerly known as the IPO Editor) */
-typedef struct SpaceIpo {
+typedef struct SpaceGraph {
SpaceLink *next, *prev;
/** Storage of regions for inactive spaces. */
ListBase regionbase;
@@ -402,11 +402,11 @@ typedef struct SpaceIpo {
int around;
int pad;
- SpaceIpo_Runtime runtime;
-} SpaceIpo;
+ SpaceGraph_Runtime runtime;
+} SpaceGraph;
-/* SpaceIpo.flag (Graph Editor Settings) */
+/* SpaceGraph.flag (Graph Editor Settings) */
typedef enum eGraphEdit_Flag {
/* OLD DEPRECEATED SETTING */
/* SIPO_LOCK_VIEW = (1 << 0), */
@@ -441,7 +441,7 @@ typedef enum eGraphEdit_Flag {
SIPO_NORMALIZE_FREEZE = (1 << 15),
} eGraphEdit_Flag;
-/* SpaceIpo.mode (Graph Editor Mode) */
+/* SpaceGraph.mode (Graph Editor Mode) */
typedef enum eGraphEdit_Mode {
/* all animation curves (from all over Blender) */
SIPO_MODE_ANIMATION = 0,
diff --git a/source/blender/makesdna/intern/dna_rename_defs.h b/source/blender/makesdna/intern/dna_rename_defs.h
index 4599d96986b..9e11cc92e4f 100644
--- a/source/blender/makesdna/intern/dna_rename_defs.h
+++ b/source/blender/makesdna/intern/dna_rename_defs.h
@@ -40,6 +40,7 @@
/* Match RNA names where possible, keep sorted. */
+DNA_STRUCT_RENAME(SpaceIpo, SpaceGraph)
DNA_STRUCT_RENAME(SpaceOops, SpaceOutliner)
DNA_STRUCT_RENAME_ELEM(Camera, YF_dofdist, dof_distance)