mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 06:18:52 +02:00
Fix Asset Browser add-to-world with spaces unwittingly appended to names
This commit is contained in:
parent
33e426bfd2
commit
ee31e3b896
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ ScrollingWindow {
|
||||||
prompt.selected.connect(function (jsonResult) {
|
prompt.selected.connect(function (jsonResult) {
|
||||||
if (jsonResult) {
|
if (jsonResult) {
|
||||||
var result = JSON.parse(jsonResult);
|
var result = JSON.parse(jsonResult);
|
||||||
var url = result.textInput;
|
var url = result.textInput.trim();
|
||||||
var shapeType;
|
var shapeType;
|
||||||
switch (result.comboBox) {
|
switch (result.comboBox) {
|
||||||
case SHAPE_TYPE_SIMPLE_HULL:
|
case SHAPE_TYPE_SIMPLE_HULL:
|
||||||
|
|
Loading…
Reference in a new issue