mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
Enable marketplace item test for avatar file
This commit is contained in:
parent
645ad2bb7a
commit
a592565b7b
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ Rectangle {
|
||||||
function buildResourceObj(resource) {
|
function buildResourceObj(resource) {
|
||||||
resource = resource.trim();
|
resource = resource.trim();
|
||||||
var assetType = (resource.match(/\.app\.json$/) ? "application" :
|
var assetType = (resource.match(/\.app\.json$/) ? "application" :
|
||||||
resource.match(/\.(?:fbx|fst)$/) ? "avatar" :
|
resource.match(/\.fst$/) ? "avatar" :
|
||||||
resource.match(/\.json\.gz$/) ? "content set" :
|
resource.match(/\.json\.gz$/) ? "content set" :
|
||||||
resource.match(/\.json$/) ? "entity or wearable" :
|
resource.match(/\.json$/) ? "entity or wearable" :
|
||||||
"unknown");
|
"unknown");
|
||||||
|
@ -154,7 +154,7 @@ Rectangle {
|
||||||
"Load File": function(){
|
"Load File": function(){
|
||||||
rootActions.currentAction = "load file";
|
rootActions.currentAction = "load file";
|
||||||
Window.browseChanged.connect(onResourceSelected);
|
Window.browseChanged.connect(onResourceSelected);
|
||||||
Window.browseAsync("Please select a file", "", "Assets (*.app.json *.json *.fbx *.json.gz)");
|
Window.browseAsync("Please select a file (*.app.json *.json *.fst *.json.gz)", "", "Assets (*.app.json *.json *.fst *.json.gz)");
|
||||||
},
|
},
|
||||||
"Load URL": function(){
|
"Load URL": function(){
|
||||||
rootActions.currentAction = "load url";
|
rootActions.currentAction = "load url";
|
||||||
|
|
Loading…
Reference in a new issue