Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_action/action_draw.c
| Show First 20 Lines • Show All 405 Lines • ▼ Show 20 Lines | switch (pid->type) { | ||||
| break; | break; | ||||
| } | } | ||||
| if (pid->cache->cached_frames == NULL) { | if (pid->cache->cached_frames == NULL) { | ||||
| continue; | continue; | ||||
| } | } | ||||
| GPU_matrix_push(); | GPU_matrix_push(); | ||||
| GPU_matrix_translate_2f(0.0, (float)V2D_SCROLL_HEIGHT_TEXT + yoffs); | GPU_matrix_translate_2f(0.0, (float)V2D_SCROLL_HEIGHT_HANDLES + yoffs); | ||||
| GPU_matrix_scale_2f(1.0, cache_draw_height); | GPU_matrix_scale_2f(1.0, cache_draw_height); | ||||
| switch (pid->type) { | switch (pid->type) { | ||||
| case PTCACHE_TYPE_SOFTBODY: | case PTCACHE_TYPE_SOFTBODY: | ||||
| col[0] = 1.0; | col[0] = 1.0; | ||||
| col[1] = 0.4; | col[1] = 0.4; | ||||
| col[2] = 0.02; | col[2] = 0.02; | ||||
| col[3] = 0.1; | col[3] = 0.1; | ||||
| ▲ Show 20 Lines • Show All 111 Lines • Show Last 20 Lines | |||||