diff options
author | Joshua Leung <aligorith@gmail.com> | 2018-04-19 17:28:27 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2018-04-20 19:54:41 +0300 |
commit | 59a1ebabcd2e5941fa89d06d7ca2c6c669b417bd (patch) | |
tree | 1b730e3e057c4a411e7147c6fa34d92502ee39bd /source/blender/blenloader/intern/readfile.c | |
parent | b2eb76cd50c98b6964ade51a486d31e8b40110dd (diff) |
Cleanup: Remove the "SpaceTime->caches" and "SpaceTimeCache" stuff
These were runtime only data, used in pre 2.8 Blender to make use of GL vertex arrays
to draw these more efficiently. Maybe we might restore these sometime as an optimisation
step, but for now, they're not needing and were confusing.
Diffstat (limited to 'source/blender/blenloader/intern/readfile.c')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index b9f9fc638cc..7ca53e00d1b 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -6540,10 +6540,6 @@ static void direct_link_area(FileData *fd, ScrArea *area) st->scroll_accum[0] = 0.0f; st->scroll_accum[1] = 0.0f; } - else if (sl->spacetype == SPACE_TIME) { - SpaceTime *stime = (SpaceTime *)sl; - BLI_listbase_clear(&stime->caches); - } else if (sl->spacetype == SPACE_SEQ) { SpaceSeq *sseq = (SpaceSeq *)sl; |