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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-04-18 07:51:44 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-18 07:52:05 +0300
commitdbf4a67af476802670b87ec90d7094a830d6eae7 (patch)
tree58918dcdd6ce1dfb359a45c55bed60119b8b7028 /source
parentb46245470f79cdacf879954bfa9f6e4cc0d80f0e (diff)
Cleanup: warnings
Diffstat (limited to 'source')
-rw-r--r--source/blender/draw/modes/edit_mesh_mode.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/draw/modes/edit_mesh_mode.c b/source/blender/draw/modes/edit_mesh_mode.c
index 6839c8fcbec..31f1515d8f5 100644
--- a/source/blender/draw/modes/edit_mesh_mode.c
+++ b/source/blender/draw/modes/edit_mesh_mode.c
@@ -300,8 +300,6 @@ static DRWPass *edit_mesh_create_overlay_pass(float *face_alpha,
const bool select_vert = (tsettings->selectmode & SCE_SELECT_VERTEX) != 0;
const bool select_face = (tsettings->selectmode & SCE_SELECT_FACE) != 0;
const bool select_edge = (tsettings->selectmode & SCE_SELECT_EDGE) != 0;
- const bool show_wide_edge = select_edge &&
- !(draw_ctx->v3d->overlay.edit_flag & V3D_OVERLAY_EDIT_FACE_DOT);
float winmat[4][4];
float viewdist = rv3d->dist;
@@ -550,7 +548,6 @@ static void EDIT_MESH_cache_init(void *vedata)
/* however we loose the front faces value (because we need the depth of occluded wires and
* faces are alpha blended ) so we recover them in a new pass. */
- bool select_face = (tsettings->selectmode & SCE_SELECT_FACE) != 0;
psl->facefill_occlude = DRW_pass_create(
"Front Face Color", DRW_STATE_WRITE_COLOR | DRW_STATE_DEPTH_LESS_EQUAL | DRW_STATE_BLEND);
stl->g_data->facefill_occluded_shgrp = DRW_shgroup_create(sh_data->overlay_facefill,