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 02379f3200f52fd51635e6e247bc2e944f0a0d4d
This commit is contained in:
parent
02379f3200
commit
162fad716e
@ -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…
Reference in New Issue
Block a user