mirror of
https://github.com/overte-org/overte.git
synced 2025-08-16 07:11:37 +02:00
hack to not switch display to hmdPreviewFrame texture (temporary)
This commit is contained in:
parent
b41c470064
commit
93840bf936
1 changed files with 5 additions and 1 deletions
|
@ -220,7 +220,11 @@
|
|||
|
||||
var url = (camera) ? (showCameraView ? "resource://spectatorCameraFrame" : "resource://hmdPreviewFrame") : "";
|
||||
sendToQml({ method: 'showPreviewTextureNotInstructions', setting: !!url, url: url});
|
||||
Window.setDisplayTexture(url);
|
||||
// FIXME: temporary hack to avoid setting the display texture to hmdPreviewFrame
|
||||
// until it is the correct mono.
|
||||
if (url != "resource://hmdPreviewFrame") {
|
||||
Window.setDisplayTexture(url);
|
||||
}
|
||||
}
|
||||
const MONITOR_SHOWS_CAMERA_VIEW_DEFAULT = false;
|
||||
var monitorShowsCameraView = !!Settings.getValue('spectatorCamera/monitorShowsCameraView', MONITOR_SHOWS_CAMERA_VIEW_DEFAULT);
|
||||
|
|
Loading…
Reference in a new issue