mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 11:13:09 +02:00
use new API to toggle environment from lobby
This commit is contained in:
parent
ee088e12f3
commit
560f53b842
1 changed files with 2 additions and 4 deletions
|
@ -311,10 +311,8 @@ function maybeCleanupLobby() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function toggleEnvironmentRendering(shouldRender) {
|
function toggleEnvironmentRendering(shouldRender) {
|
||||||
Menu.setIsOptionChecked("Voxels", shouldRender);
|
Scene.shouldRenderAvatars = shouldRender;
|
||||||
Menu.setIsOptionChecked("Entities", shouldRender);
|
Scene.shouldRenderEntities = shouldRender;
|
||||||
Menu.setIsOptionChecked("Metavoxels", shouldRender);
|
|
||||||
Menu.setIsOptionChecked("Avatars", shouldRender);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleLookAt(pickRay) {
|
function handleLookAt(pickRay) {
|
||||||
|
|
Loading…
Reference in a new issue