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:
authorJoshua Leung <aligorith@gmail.com>2011-02-16 15:00:53 +0300
committerJoshua Leung <aligorith@gmail.com>2011-02-16 15:00:53 +0300
commit1c32356b4f7839ef7f7ccace8e0c613d34c92ab5 (patch)
treef5507d1415e7d6dac0cbb263b788a7d5ad454a86 /source/blender/editors/animation
parentf6911cfe3839d0eda5bffbb65043732c504667f2 (diff)
Marker Drawing Bugfix:
Removed superfluous blend-mode change which was causing some weird white lines to appear, especially when using some markers that don't have any names.
Diffstat (limited to 'source/blender/editors/animation')
-rw-r--r--source/blender/editors/animation/anim_markers.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/editors/animation/anim_markers.c b/source/blender/editors/animation/anim_markers.c
index 75d25f7af37..4b5d11962b2 100644
--- a/source/blender/editors/animation/anim_markers.c
+++ b/source/blender/editors/animation/anim_markers.c
@@ -341,7 +341,6 @@ static void draw_marker(View2D *v2d, TimeMarker *marker, int cfra, int flag)
UI_icon_draw(xpos*xscale-5.0f, 16.0f, icon_id);
- glBlendFunc(GL_ONE, GL_ZERO);
glDisable(GL_BLEND);
/* and the marker name too, shifted slightly to the top-right */