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:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-11-05 12:04:37 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-11-05 12:04:37 +0400
commit0ef0eddeb26d71152453693d2b2de1820592ed61 (patch)
treed893997ac4c7bf765dd289e6cf4b314735bcecef /source/blender/editors/space_clip
parent3bd7816c75215a0c2dc47a9014adab9d6ca431db (diff)
Camera Tracking: proper display of current frame in cache line when sequence is too long
Diffstat (limited to 'source/blender/editors/space_clip')
-rw-r--r--source/blender/editors/space_clip/clip_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_clip/clip_draw.c b/source/blender/editors/space_clip/clip_draw.c
index fc9c040852f..f8638875f91 100644
--- a/source/blender/editors/space_clip/clip_draw.c
+++ b/source/blender/editors/space_clip/clip_draw.c
@@ -213,7 +213,7 @@ static void draw_movieclip_cache(SpaceClip *sc, ARegion *ar, MovieClip *clip, Sc
x = (sc->user.framenr - sfra) / (efra - sfra + 1) * ar->winx;
UI_ThemeColor(TH_CFRAME);
- glRecti(x, 0, x + framelen, 8);
+ glRecti(x, 0, x + ceil(framelen), 8);
clip_draw_curfra_label(sc->user.framenr, x, 8.0f);