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:
Diffstat (limited to 'source/blender/editors/space_time')
-rw-r--r--source/blender/editors/space_time/space_time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_time/space_time.c b/source/blender/editors/space_time/space_time.c
index b3c51953d59..ca9d786c4de 100644
--- a/source/blender/editors/space_time/space_time.c
+++ b/source/blender/editors/space_time/space_time.c
@@ -192,9 +192,9 @@ static void time_draw_cache(SpaceTime *stime, Object *ob)
glRectf((float)sta, 0.0, (float)end, 1.0);
- col[3] = 0.4;
+ col[3] = 0.4f;
if (pid->cache->flag & PTCACHE_BAKED) {
- col[0] -= 0.4; col[1] -= 0.4; col[2] -= 0.4;
+ col[0] -= 0.4f; col[1] -= 0.4f; col[2] -= 0.4f;
}
glColor4fv(col);