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/editors/space_action/action_draw.c
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/editors/space_action/action_draw.c')
-rw-r--r--source/blender/editors/space_action/action_draw.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/space_action/action_draw.c b/source/blender/editors/space_action/action_draw.c
index b4005faf2f3..3e9b742480a 100644
--- a/source/blender/editors/space_action/action_draw.c
+++ b/source/blender/editors/space_action/action_draw.c
@@ -406,8 +406,7 @@ void timeline_draw_cache(SpaceAction *saction, Object *ob, Scene *scene)
unsigned int pos = GWN_vertformat_attr_add(immVertexFormat(), "pos", GWN_COMP_F32, 2, GWN_FETCH_FLOAT);
immBindBuiltinProgram(GPU_SHADER_2D_UNIFORM_COLOR);
- /* iterate over pointcaches on the active object,
- * add spacetimecache and vertex array for each */
+ /* iterate over pointcaches on the active object, and draw each one's range */
for (pid = pidlist.first; pid; pid = pid->next) {
float col[4];