mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 10:13:15 +02:00
Move shortbow models to /models
This commit is contained in:
parent
f32df4f004
commit
8c088336e8
4 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ for (var i = 0; i < TEMPLATES.length; ++i) {
|
||||||
if (template.type == "Model") {
|
if (template.type == "Model") {
|
||||||
var urlParts = template.modelURL.split("/");
|
var urlParts = template.modelURL.split("/");
|
||||||
var filename = urlParts[urlParts.length - 1];
|
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);
|
print("Updated url", template.modelURL, "to", newURL);
|
||||||
template.modelURL = newURL;
|
template.modelURL = newURL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue