mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +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) {
|
||||
Menu.setIsOptionChecked("Voxels", shouldRender);
|
||||
Menu.setIsOptionChecked("Entities", shouldRender);
|
||||
Menu.setIsOptionChecked("Metavoxels", shouldRender);
|
||||
Menu.setIsOptionChecked("Avatars", shouldRender);
|
||||
Scene.shouldRenderAvatars = shouldRender;
|
||||
Scene.shouldRenderEntities = shouldRender;
|
||||
}
|
||||
|
||||
function handleLookAt(pickRay) {
|
||||
|
|
Loading…
Reference in a new issue