diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-02-16 02:16:16 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-02-16 02:23:40 +0300 |
commit | 419911b1d19ceeb87cd1c0a7b78f0133bee4a6cd (patch) | |
tree | 0c57d32c290988de6a39df0819828b43b626f7c7 /source/blender/blenloader | |
parent | 374cbdc63bde61d590340b824039f6aa892c79e7 (diff) |
DNA: rename SpaceIpo -> SpaceGraph
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 6 | ||||
-rw-r--r-- | source/blender/blenloader/intern/versioning_250.c | 2 | ||||
-rw-r--r-- | source/blender/blenloader/intern/versioning_legacy.c | 4 | ||||
-rw-r--r-- | source/blender/blenloader/intern/writefile.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 7334b3f3467..c68dcfc18fc 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -6792,7 +6792,7 @@ static void direct_link_area(FileData *fd, ScrArea *area) blo_do_versions_view3d_split_250(v3d, &sl->regionbase); } else if (sl->spacetype == SPACE_IPO) { - SpaceIpo *sipo = (SpaceIpo *)sl; + SpaceGraph *sipo = (SpaceGraph *)sl; sipo->ads = newdataadr(fd, sipo->ads); BLI_listbase_clear(&sipo->runtime.ghost_curves); @@ -6979,7 +6979,7 @@ static void lib_link_area(FileData *fd, ID *parent_id, ScrArea *area) } case SPACE_IPO: { - SpaceIpo *sipo = (SpaceIpo *)sl; + SpaceGraph *sipo = (SpaceGraph *)sl; bDopeSheet *ads = sipo->ads; if (ads) { @@ -7465,7 +7465,7 @@ static void lib_link_workspace_layout_restore(struct IDNameLib_Map *id_map, Main } } else if (sl->spacetype == SPACE_IPO) { - SpaceIpo *sipo = (SpaceIpo *)sl; + SpaceGraph *sipo = (SpaceGraph *)sl; bDopeSheet *ads = sipo->ads; if (ads) { diff --git a/source/blender/blenloader/intern/versioning_250.c b/source/blender/blenloader/intern/versioning_250.c index 28513f26e2b..4ae394fd4ee 100644 --- a/source/blender/blenloader/intern/versioning_250.c +++ b/source/blender/blenloader/intern/versioning_250.c @@ -279,7 +279,7 @@ static void area_add_window_regions(ScrArea *sa, SpaceLink *sl, ListBase *lb) } case SPACE_IPO: { - SpaceIpo *sipo = (SpaceIpo *)sl; + SpaceGraph *sipo = (SpaceGraph *)sl; memcpy(&ar->v2d, &sipo->v2d, sizeof(View2D)); /* init mainarea view2d */ diff --git a/source/blender/blenloader/intern/versioning_legacy.c b/source/blender/blenloader/intern/versioning_legacy.c index 3bb6cbc401e..6038cde3ea4 100644 --- a/source/blender/blenloader/intern/versioning_legacy.c +++ b/source/blender/blenloader/intern/versioning_legacy.c @@ -682,7 +682,7 @@ void blo_do_versions_pre250(FileData *fd, Library *lib, Main *bmain) SpaceLink *sl = sa->spacedata.first; while (sl) { if (sl->spacetype == SPACE_IPO) { - SpaceIpo *sipo = (SpaceIpo *)sl; + SpaceGraph *sipo = (SpaceGraph *)sl; sipo->v2d.max[0] = 15000.0; } sl = sl->next; @@ -2503,7 +2503,7 @@ void blo_do_versions_pre250(FileData *fd, Library *lib, Main *bmain) } case SPACE_IPO: { - SpaceIpo *sipo = (SpaceIpo *)sl; + SpaceGraph *sipo = (SpaceGraph *)sl; sipo->autosnap = SACTSNAP_FRAME; break; } diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c index 91ba77ec36c..a6172c30547 100644 --- a/source/blender/blenloader/intern/writefile.c +++ b/source/blender/blenloader/intern/writefile.c @@ -2871,13 +2871,13 @@ static void write_area_regions(WriteData *wd, ScrArea *area) } } else if (sl->spacetype == SPACE_IPO) { - SpaceIpo *sipo = (SpaceIpo *)sl; + SpaceGraph *sipo = (SpaceGraph *)sl; ListBase tmpGhosts = sipo->runtime.ghost_curves; /* temporarily disable ghost curves when saving */ BLI_listbase_clear(&sipo->runtime.ghost_curves); - writestruct(wd, DATA, SpaceIpo, 1, sl); + writestruct(wd, DATA, SpaceGraph, 1, sl); if (sipo->ads) { writestruct(wd, DATA, bDopeSheet, 1, sipo->ads); } |