forked from bartvdbraak/blender
- timemarker name is moved up, when current frame equals to frame of timemarker
This commit is contained in:
parent
a4ca8267cf
commit
45fe89364d
@ -154,7 +154,10 @@ static void draw_marker(TimeMarker *marker)
|
||||
}
|
||||
else {
|
||||
BIF_ThemeColor(TH_TEXT);
|
||||
glRasterPos2f(xpos+(4.0*(xspace/xpixels)), 17.0*yspace/ypixels);
|
||||
if((marker->frame <= G.scene->r.cfra) && (marker->frame+5 > G.scene->r.cfra))
|
||||
glRasterPos2f(xpos+(4.0*(xspace/xpixels)), 27.0*yspace/ypixels);
|
||||
else
|
||||
glRasterPos2f(xpos+(4.0*(xspace/xpixels)), 17.0*yspace/ypixels);
|
||||
}
|
||||
|
||||
BMF_DrawString(G.font, marker->name);
|
||||
|
Loading…
Reference in New Issue
Block a user