Skip to content

Commit 718ffb7

Browse files
committed
add assimp-local
1 parent 11014f0 commit 718ffb7

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

index.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import loadPlugins from "./lib/Core/loadPlugins";
1212
import render from "./lib/Views/render";
1313
import showGlobalDisclaimer from "./lib/Views/showGlobalDisclaimer";
1414
import plugins from "./plugins";
15+
import { addOrReplaceLocalFileUploadType } from "terriajs/lib/Core/getDataType";
1516

1617
const terriaOptions = {
1718
baseUrl: "build/TerriaJS"
@@ -45,6 +46,13 @@ registerSearchProviders();
4546
// insert your custom version of the code in the registerCustomComponentTypes function here instead.
4647
registerCustomComponentTypes(terria);
4748

49+
addOrReplaceLocalFileUploadType("assimp-local", {
50+
value: "assimp",
51+
name: "core.dataType.assimp-local",
52+
// description: i18next.t("core.dataType.assimp-local-description"),
53+
extensions: ["zip"]
54+
});
55+
4856
if (process.env.NODE_ENV === "development") {
4957
window.viewState = viewState;
5058
}

0 commit comments

Comments
 (0)