UVEdit: Fix drawing after recent refactor

This commit is contained in:
Clément Foucault
2020-08-13 14:27:16 +02:00
parent a6447ca72d
commit b89521de21

View File

@@ -449,6 +449,8 @@ static void draw_uvs(SpaceImage *sima,
}
col1[3] = overlay_alpha;
GPU_batch_program_set_builtin(batch->edges, shader);
/* Inner Line. Use depth test to insure selection is drawn on top. */
GPU_depth_test(true);
GPU_line_width(1.0f);