Fix T81669: Vertex size in UV Editor changes using Face Dot Size in themes

Probably copy-paste error in rBd6525e8d133b.

Maniphest Tasks: T81669

Differential Revision: https://developer.blender.org/D9190
This commit is contained in:
Philipp Oeser 2020-10-13 10:21:53 +02:00
parent 211d7ff3cf
commit 344c001eae
Notes: blender-bot 2023-02-14 08:06:33 +01:00
Referenced by issue #81669, Vertex size in UV Editor changes using Face Dot Size in themes
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ void OVERLAY_edit_uv_cache_init(OVERLAY_Data *vedata)
GPUShader *sh = OVERLAY_shader_edit_uv_verts_get();
pd->edit_uv_verts_grp = DRW_shgroup_create(sh, psl->edit_uv_verts_ps);
const float point_size = UI_GetThemeValuef(TH_FACEDOT_SIZE);
const float point_size = UI_GetThemeValuef(TH_VERTEX_SIZE);
DRW_shgroup_uniform_block(pd->edit_uv_verts_grp, "globalsBlock", G_draw.block_ubo);
DRW_shgroup_uniform_float_copy(