File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import loadPlugins from "./lib/Core/loadPlugins";
1212import render from "./lib/Views/render" ;
1313import showGlobalDisclaimer from "./lib/Views/showGlobalDisclaimer" ;
1414import plugins from "./plugins" ;
15+ import { addOrReplaceLocalFileUploadType } from "terriajs/lib/Core/getDataType" ;
1516
1617const terriaOptions = {
1718 baseUrl : "build/TerriaJS"
@@ -45,6 +46,13 @@ registerSearchProviders();
4546// insert your custom version of the code in the registerCustomComponentTypes function here instead.
4647registerCustomComponentTypes ( 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+
4856if ( process . env . NODE_ENV === "development" ) {
4957 window . viewState = viewState ;
5058}
You can’t perform that action at this time.
0 commit comments