mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 17:39:26 +02:00
Add .glb item type.
This commit is contained in:
parent
83bbbbb8b1
commit
100bf3a91e
2 changed files with 4 additions and 0 deletions
|
@ -282,6 +282,7 @@ function startup() {
|
||||||
onClosed: onClosed
|
onClosed: onClosed
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
startup();
|
startup();
|
||||||
|
|
||||||
Script.scriptEnding.connect(function () {
|
Script.scriptEnding.connect(function () {
|
||||||
|
|
|
@ -858,6 +858,9 @@ export default {
|
||||||
case ".gltf":
|
case ".gltf":
|
||||||
detectedItemType = "MODEL";
|
detectedItemType = "MODEL";
|
||||||
break;
|
break;
|
||||||
|
case ".glb":
|
||||||
|
detectedItemType = "MODEL";
|
||||||
|
break;
|
||||||
// Script Cases
|
// Script Cases
|
||||||
case ".js":
|
case ".js":
|
||||||
detectedItemType = "SCRIPT";
|
detectedItemType = "SCRIPT";
|
||||||
|
|
Loading…
Reference in a new issue