mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 02:16:51 +02:00
Fix lasers
This commit is contained in:
parent
0bd67d494d
commit
46ce68a893
2 changed files with 3 additions and 3 deletions
|
@ -6,8 +6,8 @@
|
||||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
//
|
//
|
||||||
|
|
||||||
// note: this constant is currently duplicated in edit.js
|
// note: this constant is currently duplicated in edit.js and ambientSounds.js
|
||||||
EDIT_SETTING = "io.highfidelity.isEditting";
|
EDIT_SETTING = "io.highfidelity.isEditing";
|
||||||
isInEditMode = function isInEditMode() {
|
isInEditMode = function isInEditMode() {
|
||||||
return Settings.getValue(EDIT_SETTING);
|
return Settings.getValue(EDIT_SETTING);
|
||||||
};
|
};
|
||||||
|
|
|
@ -139,7 +139,7 @@
|
||||||
|
|
||||||
this._toggle = function(hint) {
|
this._toggle = function(hint) {
|
||||||
// Toggle between ON/OFF state, but only if not in edit mode
|
// Toggle between ON/OFF state, but only if not in edit mode
|
||||||
if (Settings.getValue("io.highfidelity.isEditting")) {
|
if (Settings.getValue("io.highfidelity.isEditing")) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var props = Entities.getEntityProperties(entity, [ "userData" ]);
|
var props = Entities.getEntityProperties(entity, [ "userData" ]);
|
||||||
|
|
Loading…
Reference in a new issue