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:
authorCampbell Barton <ideasman42@gmail.com>2019-05-17 07:11:22 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-05-17 07:11:22 +0300
commit1f22a20d5f549e4f7e6b6e71e0fb1899b480f486 (patch)
tree40933bb7bd77c3c79c2f94c3cf72415f5d9aada4 /source/blender/draw
parent42cd07c28ceeceb6d55677de942f481dafc51f0f (diff)
Fix face mask edge select drawing
All edges were drawing black.
Diffstat (limited to 'source/blender/draw')
-rw-r--r--source/blender/draw/modes/paint_texture_mode.c2
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({