mirror of
https://github.com/blender/blender
synced 2026-09-26 16:15:47 +03:00
Revert "Fix #119527: Aliased Wireframe In XRay"
This fix should only be committed to blender-v4.1-release branch
Blender 4.2 the pos/nor buffers are separated and doesn't lead
to drawing artifacts.
This reverts commit 02379f3200
This commit is contained in:
parent
922c5c679f
commit
6ceefe4f23
1 changed files with 2 additions and 1 deletions
|
|
@ -66,7 +66,8 @@ 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);
|
||||
OVERLAY_shader_wireframe(pd->antialiasing.enabled &&
|
||||
!pd->xray_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