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>2006-12-06 06:38:28 +0300
committerJoshua Leung <aligorith@gmail.com>2006-12-06 06:38:28 +0300
commit6210845e82b3ea33c1df0452eee435b472ae70ee (patch)
treee4e7982a2488d9f9a5b78f5a854fc73a6671b80b /source/blender/src/drawnla.c
parent34ea39a48fdc194b5b2e3654ce30cf6c38c1dcaa (diff)
== NLA Editor ==
Fix for a few alpha problems with icons beside channels when markers are drawn
Diffstat (limited to 'source/blender/src/drawnla.c')
-rw-r--r--source/blender/src/drawnla.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/src/drawnla.c b/source/blender/src/drawnla.c
index 807568b0064..1ebb5417634 100644
--- a/source/blender/src/drawnla.c
+++ b/source/blender/src/drawnla.c
@@ -133,6 +133,7 @@ static void draw_nla_channels(void)
/* icon to indicate nla or action */
if(ob->nlastrips.first && ob->action) {
glEnable(GL_BLEND);
+ glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA) ;
if(ob->nlaflag & OB_NLA_OVERRIDE)
BIF_icon_draw(x+5, y-8, ICON_NLA);
else