tweaks to frame drawing from sebastian-k

This commit is contained in:
Campbell Barton
2012-05-27 10:35:12 +00:00
parent 3595db7350
commit e7ba0100c7

View File

@@ -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();