mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-14 17:53:14 +02:00
Fix large marketplace imports not working
This commit is contained in:
parent
6e41a79551
commit
81e80996f7
1 changed files with 2 additions and 2 deletions
|
@ -1064,7 +1064,7 @@ function importSVO(importURL) {
|
|||
|
||||
if (success) {
|
||||
var VERY_LARGE = 10000;
|
||||
var position = { x: 0, y: 0, z: 0};
|
||||
var position = { x: 0.01, y: 0.01, z: 0.01};
|
||||
if (Clipboard.getClipboardContentsLargestDimension() < VERY_LARGE) {
|
||||
position = getPositionToCreateEntity();
|
||||
}
|
||||
|
@ -1074,7 +1074,7 @@ function importSVO(importURL) {
|
|||
if (isActive) {
|
||||
selectionManager.setSelections(pastedEntityIDs);
|
||||
}
|
||||
Window.raiseMainWindow();
|
||||
Window.raiseMainWindow();
|
||||
} else {
|
||||
Window.alert("Can't import objects: objects would be out of bounds.");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue