[Bf-blender-cvs] [344c001eae6] master: Fix T81669: Vertex size in UV Editor changes using Face Dot Size in themes
Philipp Oeser
noreply at git.blender.org
Tue Oct 13 11:55:15 CEST 2020
Commit: 344c001eae644dba41c0eaf62d741903813d6dd2
Author: Philipp Oeser
Date: Tue Oct 13 10:21:53 2020 +0200
Branches: master
https://developer.blender.org/rB344c001eae644dba41c0eaf62d741903813d6dd2
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
===================================================================
M source/blender/draw/engines/overlay/overlay_edit_uv.c
===================================================================
diff --git a/source/blender/draw/engines/overlay/overlay_edit_uv.c b/source/blender/draw/engines/overlay/overlay_edit_uv.c
index af20e85a89b..18400799d3c 100644
--- a/source/blender/draw/engines/overlay/overlay_edit_uv.c
+++ b/source/blender/draw/engines/overlay/overlay_edit_uv.c
@@ -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(
More information about the Bf-blender-cvs
mailing list