Workbench: Crash When Rendering With Stereo

This commit is contained in:
Jeroen Bakker 2020-03-16 10:42:03 +01:00
parent 868573451f
commit 01377fd229
Notes: blender-bot 2023-02-14 10:14:07 +01:00
Referenced by issue #74843,  Snap tool: shift+s -> Selection to cursor (keep offset) doesn't work in object
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ void workbench_private_data_init(WORKBENCH_PrivateData *wpd)
/* FIXME: This reproduce old behavior when workbench was separated in 2 engines.
* But this is a workaround for a missing update tagging from operators. */
if (scene->display.shading.type != wpd->shading.type ||
XRAY_ENABLED(v3d) != XRAY_ENABLED((&scene->display))) {
(v3d && (XRAY_ENABLED(v3d) != XRAY_ENABLED(&scene->display)))) {
wpd->view_updated = true;
}