Fix Asset Browser add-to-world with spaces unwittingly appended to names

This commit is contained in:
David Rowe 2016-10-12 20:08:15 +13:00
parent 33e426bfd2
commit ee31e3b896

View file

@ -184,7 +184,7 @@ ScrollingWindow {
prompt.selected.connect(function (jsonResult) {
if (jsonResult) {
var result = JSON.parse(jsonResult);
var url = result.textInput;
var url = result.textInput.trim();
var shapeType;
switch (result.comboBox) {
case SHAPE_TYPE_SIMPLE_HULL: