diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-07-10 12:02:18 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-07-10 12:02:18 +0300 |
commit | 582a0b7e5a3717b7d45330981d736d11f6efba62 (patch) | |
tree | e817b9b1a2daea5c95feff6fbc556dd6f23525c0 /source/blender/editors/uvedit | |
parent | 7a9028cad164fb20ebce6689c823dc85b6890860 (diff) |
Fix T78756: White UV drawing is displayed as Dashed
Diffstat (limited to 'source/blender/editors/uvedit')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/uvedit/uvedit_draw.c b/source/blender/editors/uvedit/uvedit_draw.c index c6b8b0cd02d..9f716739b1c 100644 --- a/source/blender/editors/uvedit/uvedit_draw.c +++ b/source/blender/editors/uvedit/uvedit_draw.c @@ -413,7 +413,7 @@ static void draw_uvs(SpaceImage *sima, UI_GetThemeColor3fv(TH_EDGE_SELECT, col2); col2[3] = overlay_alpha; - float dash_width = (sima->dt_uv & SI_UVDT_DASH) ? (4.0f * UI_DPI_FAC) : 9999.0f; + const float dash_width = (sima->dt_uv == SI_UVDT_DASH) ? (4.0f * UI_DPI_FAC) : 9999.0f; eGPUBuiltinShader shader = (interpedges) ? GPU_SHADER_2D_UV_EDGES_SMOOTH : GPU_SHADER_2D_UV_EDGES; |