diff --git a/scripts/system/inventory/public/inventory.js b/scripts/system/inventory/public/inventory.js index 8121fa5b61..3e877ec309 100644 --- a/scripts/system/inventory/public/inventory.js +++ b/scripts/system/inventory/public/inventory.js @@ -176,7 +176,7 @@ function useItem(item) { if (item.type == "MODEL") { var entityID = Entities.addEntity({ type: "Model", - position: Vec3.sum(MyAvatar.position, Vec3.multiplyQbyV(MyAvatar.orientation, { x: 0, y: 0, z: -3 })), + position: Vec3.sum(MyAvatar.position, Vec3.multiplyQbyV(MyAvatar.orientation, { x: 0, y: 0, z: -1.5 })), rotation: MyAvatar.orientation, modelURL: item.url, collisionless: true, @@ -187,7 +187,7 @@ function useItem(item) { MyAvatar.useFullAvatarURL(item.url); } - if (item.type == "SERVERLESS") { + if (item.type == "PLACE") { location.handleLookupString(item.url, true); // https://apidocs.vircadia.dev/location.html#.handleLookupString } @@ -199,7 +199,7 @@ function useItem(item) { Clipboard.pasteEntities( Vec3.sum( MyAvatar.position, - Vec3.multiplyQbyV(MyAvatar.orientation, { x: 0, y: 0, z: -3 }) + Vec3.multiplyQbyV(MyAvatar.orientation, { x: 0, y: 0, z: -1.5 }) ) ); } diff --git a/scripts/system/inventory/src/App.vue b/scripts/system/inventory/src/App.vue index 78c7a61c8f..3412545b39 100644 --- a/scripts/system/inventory/src/App.vue +++ b/scripts/system/inventory/src/App.vue @@ -954,8 +954,8 @@ export default { "uuid": "54254354980-7667jt353", }, { - "type": "serverless", - "name": "SERVERLESS DOMAIN", + "type": "place", + "name": "PLACE DOMAIN", "url": "https://googleee.com/vr.fbx", "folder": "No Folder", "uuid": "542543sg45s4gg54353", @@ -974,7 +974,7 @@ export default { "icon": "mdi-account-convert", "color": "purple", }, - "SERVERLESS": { + "PLACE": { "icon": "mdi-earth", "color": "#0097A7", // cyan darken-2 }, @@ -1182,8 +1182,8 @@ export default { case "SCRIPT": detectedItemType = "SCRIPT"; break; - case "SERVERLESS": - detectedItemType = "SERVERLESS"; + case "PLACE": + detectedItemType = "PLACE"; break; case "JSON": detectedItemType = "JSON";