mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 11:17:34 +02:00
Fix for far grab not working until after edit button is pressed
This commit is contained in:
parent
7d1f52da70
commit
c8d0decab7
1 changed files with 2 additions and 1 deletions
|
@ -264,7 +264,8 @@ function propsArePhysical(props) {
|
||||||
var EXTERNALLY_MANAGED_2D_MINOR_MODE = true;
|
var EXTERNALLY_MANAGED_2D_MINOR_MODE = true;
|
||||||
var EDIT_SETTING = "io.highfidelity.isEditting";
|
var EDIT_SETTING = "io.highfidelity.isEditting";
|
||||||
function isEditing() {
|
function isEditing() {
|
||||||
return EXTERNALLY_MANAGED_2D_MINOR_MODE && Settings.getValue(EDIT_SETTING);
|
var actualSettingValue = Settings.getValue(EDIT_SETTING) === "false" ? false : !!Settings.getValue(EDIT_SETTING);
|
||||||
|
return EXTERNALLY_MANAGED_2D_MINOR_MODE && actualSettingValue;
|
||||||
}
|
}
|
||||||
function isIn2DMode() {
|
function isIn2DMode() {
|
||||||
// In this version, we make our own determination of whether we're aimed a HUD element,
|
// In this version, we make our own determination of whether we're aimed a HUD element,
|
||||||
|
|
Loading…
Reference in a new issue