diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-05-17 07:11:22 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-05-17 07:11:22 +0300 |
commit | 1f22a20d5f549e4f7e6b6e71e0fb1899b480f486 (patch) | |
tree | 40933bb7bd77c3c79c2f94c3cf72415f5d9aada4 /source | |
parent | 42cd07c28ceeceb6d55677de942f481dafc51f0f (diff) |
Fix face mask edge select drawing
All edges were drawing black.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/draw/modes/paint_texture_mode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/modes/paint_texture_mode.c b/source/blender/draw/modes/paint_texture_mode.c index e4676062f3a..847d2d2f8aa 100644 --- a/source/blender/draw/modes/paint_texture_mode.c +++ b/source/blender/draw/modes/paint_texture_mode.c @@ -161,7 +161,7 @@ static void PAINT_TEXTURE_engine_init(void *UNUSED(vedata)) datatoc_paint_wire_vert_glsl, NULL}, .frag = (const char *[]){datatoc_paint_wire_frag_glsl, NULL}, - .defs = (const char *[]){sh_cfg_data->def, "#define VERTEX_MODE\n", NULL}, + .defs = (const char *[]){sh_cfg_data->def, "#define USE_SELECT\n", NULL}, }); sh_data->face_select_overlay = GPU_shader_create_from_arrays({ |