mirror of
https://github.com/blender/blender
synced 2026-09-26 16:15:47 +03:00
Merge branch 'blender-v4.1-release'
This commit is contained in:
commit
922c5c679f
1 changed files with 1 additions and 2 deletions
|
|
@ -66,8 +66,7 @@ void OVERLAY_wireframe_cache_init(OVERLAY_Data *vedata)
|
|||
|
||||
const bool use_select = (DRW_state_is_select() || DRW_state_is_depth());
|
||||
GPUShader *wires_sh = use_select ? OVERLAY_shader_wireframe_select() :
|
||||
OVERLAY_shader_wireframe(pd->antialiasing.enabled &&
|
||||
!pd->xray_enabled);
|
||||
OVERLAY_shader_wireframe(pd->antialiasing.enabled);
|
||||
|
||||
for (int xray = 0; xray < (is_material_shmode ? 1 : 2); xray++) {
|
||||
DRWState state = DRW_STATE_FIRST_VERTEX_CONVENTION | DRW_STATE_WRITE_COLOR |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue