mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 20:34:07 +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) {
|
||||
properties.grab = {};
|
||||
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;
|
||||
} else {
|
||||
properties.grab.grabbable = false;
|
||||
|
|
Loading…
Reference in a new issue