mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 19:01:09 +02:00
Merge pull request #16468 from RebeccaStankus/webEntities
Made web entities not grabbable by default
This commit is contained in:
commit
79df071c23
1 changed files with 2 additions and 1 deletions
|
@ -561,7 +561,8 @@ var toolBar = (function () {
|
||||||
if (!properties.grab) {
|
if (!properties.grab) {
|
||||||
properties.grab = {};
|
properties.grab = {};
|
||||||
if (Menu.isOptionChecked(MENU_CREATE_ENTITIES_GRABBABLE) &&
|
if (Menu.isOptionChecked(MENU_CREATE_ENTITIES_GRABBABLE) &&
|
||||||
!(properties.type === "Zone" || properties.type === "Light" || properties.type === "ParticleEffect")) {
|
!(properties.type === "Zone" || properties.type === "Light"
|
||||||
|
|| properties.type === "ParticleEffect" || properties.type === "Web")) {
|
||||||
properties.grab.grabbable = true;
|
properties.grab.grabbable = true;
|
||||||
} else {
|
} else {
|
||||||
properties.grab.grabbable = false;
|
properties.grab.grabbable = false;
|
||||||
|
|
Loading…
Reference in a new issue