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>2016-01-24 21:15:58 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-01-24 21:15:58 +0300
commitda1dce7f7990919213c243858e9d742b5825ebe4 (patch)
tree603902481ade24478d8ba89c155e82b988aad195 /source/blender/editors/space_clip
parent780e900a0d44a53fbb6a7865804c8d5fd547b699 (diff)
Fix yet another case broken after glLineWidth() changes
Original patch didn't have any tests or what? =\
Diffstat (limited to 'source/blender/editors/space_clip')
-rw-r--r--source/blender/editors/space_clip/clip_draw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_clip/clip_draw.c b/source/blender/editors/space_clip/clip_draw.c
index 6542a4d1c0c..d099b083617 100644
--- a/source/blender/editors/space_clip/clip_draw.c
+++ b/source/blender/editors/space_clip/clip_draw.c
@@ -577,6 +577,8 @@ static void draw_marker_areas(SpaceClip *sc, MovieTrackingTrack *track, MovieTra
px[0] = 1.0f / width / sc->zoom;
px[1] = 1.0f / height / sc->zoom;
+ glLineWidth(1.0f);
+
/* marker position and offset position */
if ((track->flag & SELECT) == sel && (marker->flag & MARKER_DISABLED) == 0) {
float pos[2], p[2];