From 59a1ebabcd2e5941fa89d06d7ca2c6c669b417bd Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Thu, 19 Apr 2018 16:28:27 +0200 Subject: 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. --- source/blender/makesdna/DNA_space_types.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'source/blender/makesdna/DNA_space_types.h') diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h index 284e6ff9154..44386a4a77b 100644 --- a/source/blender/makesdna/DNA_space_types.h +++ b/source/blender/makesdna/DNA_space_types.h @@ -474,14 +474,6 @@ typedef enum eSpaceNla_Flag { /* Timeline =============================================== */ -/* Pointcache drawing data */ -# /* Only store the data array in the cache to avoid constant reallocation. */ -# /* No need to store when saved. */ -typedef struct SpaceTimeCache { - struct SpaceTimeCache *next, *prev; - float *array; -} SpaceTimeCache; - /* Timeline View */ typedef struct SpaceTime { SpaceLink *next, *prev; @@ -491,8 +483,6 @@ typedef struct SpaceTime { View2D v2d DNA_DEPRECATED; /* deprecated, copied to region */ - ListBase caches; - int cache_display; int flag; } SpaceTime; -- cgit v1.2.3