From 8c088336e83ca4cf620099eea798a66fe429b338 Mon Sep 17 00:00:00 2001 From: Ryan Huffman Date: Wed, 8 Feb 2017 14:32:16 -0800 Subject: [PATCH] Move shortbow models to /models --- .../shortbow/{assets => models}/shortbow-button.fbx | Bin .../{assets => models}/shortbow-platform.fbx | Bin .../{assets => models}/shortbow-scoreboard.fbx | Bin .../marketplace/shortbow/spawnShortbow.js | 2 +- 4 files changed, 1 insertion(+), 1 deletion(-) rename unpublishedScripts/marketplace/shortbow/{assets => models}/shortbow-button.fbx (100%) rename unpublishedScripts/marketplace/shortbow/{assets => models}/shortbow-platform.fbx (100%) rename unpublishedScripts/marketplace/shortbow/{assets => models}/shortbow-scoreboard.fbx (100%) diff --git a/unpublishedScripts/marketplace/shortbow/assets/shortbow-button.fbx b/unpublishedScripts/marketplace/shortbow/models/shortbow-button.fbx similarity index 100% rename from unpublishedScripts/marketplace/shortbow/assets/shortbow-button.fbx rename to unpublishedScripts/marketplace/shortbow/models/shortbow-button.fbx diff --git a/unpublishedScripts/marketplace/shortbow/assets/shortbow-platform.fbx b/unpublishedScripts/marketplace/shortbow/models/shortbow-platform.fbx similarity index 100% rename from unpublishedScripts/marketplace/shortbow/assets/shortbow-platform.fbx rename to unpublishedScripts/marketplace/shortbow/models/shortbow-platform.fbx diff --git a/unpublishedScripts/marketplace/shortbow/assets/shortbow-scoreboard.fbx b/unpublishedScripts/marketplace/shortbow/models/shortbow-scoreboard.fbx similarity index 100% rename from unpublishedScripts/marketplace/shortbow/assets/shortbow-scoreboard.fbx rename to unpublishedScripts/marketplace/shortbow/models/shortbow-scoreboard.fbx diff --git a/unpublishedScripts/marketplace/shortbow/spawnShortbow.js b/unpublishedScripts/marketplace/shortbow/spawnShortbow.js index 9ab42817ff..655c8f0102 100644 --- a/unpublishedScripts/marketplace/shortbow/spawnShortbow.js +++ b/unpublishedScripts/marketplace/shortbow/spawnShortbow.js @@ -78,7 +78,7 @@ for (var i = 0; i < TEMPLATES.length; ++i) { if (template.type == "Model") { var urlParts = template.modelURL.split("/"); var filename = urlParts[urlParts.length - 1]; - var newURL = Script.resolvePath("assets/" + filename); + var newURL = Script.resolvePath("models/" + filename); print("Updated url", template.modelURL, "to", newURL); template.modelURL = newURL; }