mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
Update zone overlay to only be visible when edit is on
This commit is contained in:
parent
af46ece9af
commit
ab261f4443
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,6 @@ var entityPropertyDialogBox = EntityPropertyDialogBox;
|
|||
|
||||
var lightOverlayManager = new LightOverlayManager();
|
||||
var zoneOverlayManager = new ZoneOverlayManager();
|
||||
zoneOverlayManager.setVisible(true);
|
||||
|
||||
var cameraManager = new CameraManager();
|
||||
|
||||
|
@ -245,6 +244,7 @@ var toolBar = (function () {
|
|||
}
|
||||
toolBar.selectTool(activeButton, isActive);
|
||||
lightOverlayManager.setVisible(isActive && Menu.isOptionChecked(MENU_SHOW_LIGHTS_IN_EDIT_MODE));
|
||||
zoneOverlayManager.setVisible(isActive);
|
||||
};
|
||||
|
||||
// Sets visibility of tool buttons, excluding the power button
|
||||
|
|
Loading…
Reference in a new issue