Fix T54806: Editors drawing glitch when using lasso selection
We should always reset to default glBlendFunc after done drawing.
This commit is contained in:
parent
fe149da993
commit
0357493033
Notes:
blender-bot
2023-02-14 05:58:20 +01:00
Referenced by issue #54806, Editors drawing glitch when using lasso selection.
|
@ -323,6 +323,7 @@ static void draw_filled_lasso(wmGesture *gt)
|
|||
MEM_freeN(pixel_buf);
|
||||
|
||||
glDisable(GL_BLEND);
|
||||
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||
}
|
||||
|
||||
MEM_freeN(moves);
|
||||
|
|
Loading…
Reference in New Issue