From b117b8e81829fa8e807159e2a5899d0896ea09c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Mon, 17 Feb 2020 22:39:33 +0100 Subject: Fix T73793 Walk navigation crosshair gets hidden behind objects This is a bug that the recent refactor exposed. Some widgets were drawing with alpha set to 0. --- source/blender/editors/mesh/editmesh_knife.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/mesh') diff --git a/source/blender/editors/mesh/editmesh_knife.c b/source/blender/editors/mesh/editmesh_knife.c index bad24eaa47c..93850abafea 100644 --- a/source/blender/editors/mesh/editmesh_knife.c +++ b/source/blender/editors/mesh/editmesh_knife.c @@ -1031,7 +1031,7 @@ static void knifetool_draw_angle_snapping(const KnifeTool_OpData *kcd) uint pos = GPU_vertformat_attr_add(immVertexFormat(), "pos", GPU_COMP_F32, 3, GPU_FETCH_FLOAT); immBindBuiltinProgram(GPU_SHADER_3D_UNIFORM_COLOR); - immUniformThemeColor(TH_TRANSFORM); + immUniformThemeColor3(TH_TRANSFORM); GPU_line_width(2.0); immBegin(GPU_PRIM_LINES, 2); -- cgit v1.2.3