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:
authorJoshua Leung <aligorith@gmail.com>2018-04-19 17:28:27 +0300
committerJoshua Leung <aligorith@gmail.com>2018-04-20 19:54:41 +0300
commit59a1ebabcd2e5941fa89d06d7ca2c6c669b417bd (patch)
tree1b730e3e057c4a411e7147c6fa34d92502ee39bd /source/blender/makesdna/DNA_space_types.h
parentb2eb76cd50c98b6964ade51a486d31e8b40110dd (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/makesdna/DNA_space_types.h')
-rw-r--r--source/blender/makesdna/DNA_space_types.h10
1 files changed, 0 insertions, 10 deletions
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;