diff options
author | Joshua Leung <aligorith@gmail.com> | 2016-01-25 13:45:45 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2016-01-25 13:46:02 +0300 |
commit | a48a66fb19e72531b713840909d93dde8fa3caa0 (patch) | |
tree | 3257cde25a68dde8e3f51694eb13c26e634e9743 /source/blender/editors/space_time/space_time.c | |
parent | 8850775ce86fc2873f00bdd87aaec11f460c298a (diff) |
A few urgent glLineWidth fixes for anim editors
This fixes some of the issues noted by venomgfx that were caused by
Se25ba162c0b62b19cf367f0f29e29d0c0960978d
Specifically, this commit fixes:
* Timeline: Keyframe lines
* Graph Editor: Curves and Handles
Diffstat (limited to 'source/blender/editors/space_time/space_time.c')
-rw-r--r-- | source/blender/editors/space_time/space_time.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_time/space_time.c b/source/blender/editors/space_time/space_time.c index 4c64c52ba2b..fde955c24a7 100644 --- a/source/blender/editors/space_time/space_time.c +++ b/source/blender/editors/space_time/space_time.c @@ -352,6 +352,9 @@ static void time_draw_keyframes(const bContext *C, ARegion *ar) View2D *v2d = &ar->v2d; bool onlysel = ((scene->flag & SCE_KEYS_NO_SELONLY) == 0); + /* set this for all keyframe lines once and for all */ + glLineWidth(1.0); + /* draw grease pencil keyframes (if available) */ UI_ThemeColor(TH_TIME_GP_KEYFRAME); if (scene->gpd) { |