Fix yet another case broken after glLineWidth() changes
authorSergey Sharybin <sergey.vfx@gmail.com>
Sun, 24 Jan 2016 18:15:58 +0000 (23:15 +0500)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sun, 24 Jan 2016 18:15:58 +0000 (23:15 +0500)
Original patch didn't have any tests or what? =\

source/blender/editors/space_clip/clip_draw.c

index 6542a4d1c0c413e31951067802ef3e3acd7570ad..d099b0836172bb8d97452dfb43473b3ee2c6a296 100644 (file)
@@ -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];