Wireframe: Extend Xray slider range
This makes it possible to bypass the depth dithering effect at the cost of less accurate depth perception.
This commit is contained in:
parent
946f9d8fb3
commit
b4dfe00fd6
Notes:
blender-bot
2023-06-12 00:52:52 +02:00
Referenced by issue #57673, FBX lost custom vertex normals after import to 3dsMax Referenced by issue #57663, Exported FBX has broken hard edges in 3dsMax Referenced by issue #57653, Crash when i switch from edit mode to sculpt mode Referenced by issue #57638, Possible wrong behavour in wireframe mode Referenced by issue #57641, Crash when quickly pressing tab in particle edit
|
@ -372,7 +372,7 @@ void workbench_forward_engine_init(WORKBENCH_Data *vedata)
|
|||
}
|
||||
|
||||
if (wpd->shading.flag & XRAY_FLAG(wpd)) {
|
||||
blend_threshold = 0.75f - XRAY_ALPHA(wpd) * 0.5f;
|
||||
blend_threshold = 1.0f - XRAY_ALPHA(wpd) * 0.9f;
|
||||
}
|
||||
|
||||
if (wpd->shading.type == OB_WIRE) {
|
||||
|
|
Loading…
Reference in New Issue