2.5 - Fixing some drawing problems I noticed in ZanQdo's file...
[blender.git] / source / blender / editors / animation / anim_channels_defines.c
index 25e3c112389a3fbde9ce6f1c4dbe0b5eddac01fa..acf7467713b83b259f4b8c2adb39f7c329e75f45 100644 (file)
@@ -1902,6 +1902,10 @@ void ANIM_channel_draw (bAnimContext *ac, bAnimListElem *ale, float yminc, float
                selected= ANIM_channel_setting_get(ac, ale, ACHANNEL_SETTING_SELECT);
        else
                selected= 0;
+               
+       /* set blending again, as may not be set in previous step */
+       glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
+       glEnable(GL_BLEND);
        
        /* step 1) draw backdrop ...........................................  */
        if (acf->draw_backdrop)