mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 05:37:13 +02:00
tablet is not selectable in edit mode
This commit is contained in:
parent
bc75cf5bed
commit
c811839163
1 changed files with 3 additions and 1 deletions
|
@ -697,7 +697,9 @@ function mouseClickEvent(event) {
|
||||||
toolBar.setActive(true);
|
toolBar.setActive(true);
|
||||||
var pickRay = result.pickRay;
|
var pickRay = result.pickRay;
|
||||||
var foundEntity = result.entityID;
|
var foundEntity = result.entityID;
|
||||||
|
if (foundEntity === HMD.tabletID) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
properties = Entities.getEntityProperties(foundEntity);
|
properties = Entities.getEntityProperties(foundEntity);
|
||||||
if (isLocked(properties)) {
|
if (isLocked(properties)) {
|
||||||
if (wantDebug) {
|
if (wantDebug) {
|
||||||
|
|
Loading…
Reference in a new issue