From e7ba0100c7d9254e2220ef6ca484883db40910bd Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 27 May 2012 10:35:12 +0000 Subject: [PATCH] tweaks to frame drawing from sebastian-k --- source/blender/editors/space_clip/clip_draw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/blender/editors/space_clip/clip_draw.c b/source/blender/editors/space_clip/clip_draw.c index 337b21465a3..fd47bc376c7 100644 --- a/source/blender/editors/space_clip/clip_draw.c +++ b/source/blender/editors/space_clip/clip_draw.c @@ -203,7 +203,7 @@ static void draw_movieclip_cache(SpaceClip *sc, ARegion *ar, MovieClip *clip, Sc if (maskobj) { MaskObjectShape *maskobj_shape; - glColor4ub(255, 255, 0, 96); + glColor4ub(255, 175, 0, 255); glBegin(GL_LINES); for (maskobj_shape = maskobj->splines_shapes.first; @@ -216,7 +216,7 @@ static void draw_movieclip_cache(SpaceClip *sc, ARegion *ar, MovieClip *clip, Sc /* use a line so we always see the keyframes */ glVertex2i((i - sfra) * framelen, 0); - glVertex2i((i - sfra) * framelen, 4); + glVertex2i((i - sfra) * framelen, (i == CFRA) ? 22 : 10); } glEnd();