From 2d1c14f0360a2a8172c7bdb64f6dbe99197f5c3e Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 16 Feb 2019 16:42:11 +1100 Subject: Cleanup: rename SPACE_IPO -> SPACE_GRAPH --- source/blender/blenloader/intern/versioning_legacy.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/blenloader/intern/versioning_legacy.c') diff --git a/source/blender/blenloader/intern/versioning_legacy.c b/source/blender/blenloader/intern/versioning_legacy.c index d8245cf9df3..86278e3f891 100644 --- a/source/blender/blenloader/intern/versioning_legacy.c +++ b/source/blender/blenloader/intern/versioning_legacy.c @@ -681,7 +681,7 @@ void blo_do_versions_pre250(FileData *fd, Library *lib, Main *bmain) while (sa) { SpaceLink *sl = sa->spacedata.first; while (sl) { - if (sl->spacetype == SPACE_IPO) { + if (sl->spacetype == SPACE_GRAPH) { SpaceGraph *sipo = (SpaceGraph *)sl; sipo->v2d.max[0] = 15000.0; } @@ -873,7 +873,7 @@ void blo_do_versions_pre250(FileData *fd, Library *lib, Main *bmain) SpaceLink *sl; for (sl = sa->spacedata.first; sl; sl = sl->next) { - if (sl->spacetype == SPACE_IPO) { + if (sl->spacetype == SPACE_GRAPH) { SpaceSeq *sseq = (SpaceSeq *)sl; sseq->v2d.keeptot = 0; } @@ -2501,7 +2501,7 @@ void blo_do_versions_pre250(FileData *fd, Library *lib, Main *bmain) sact->autosnap = SACTSNAP_FRAME; break; } - case SPACE_IPO: + case SPACE_GRAPH: { SpaceGraph *sipo = (SpaceGraph *)sl; sipo->autosnap = SACTSNAP_FRAME; -- cgit v1.2.3