Removed .gltf to debug, .glb still enabled

This commit is contained in:
Lucas Dower 2023-05-06 16:56:22 +01:00
parent ab5e8476d1
commit bae3532c4d
No known key found for this signature in database
GPG Key ID: B3EE6B8499593605
5 changed files with 7 additions and 7 deletions

View File

@ -36,7 +36,7 @@ export const en_GB = {
failed_to_parse_line: 'Failed attempt to parse "{{line}}", because "{{error}}"', failed_to_parse_line: 'Failed attempt to parse "{{line}}", because "{{error}}"',
gltf_experimental: 'The GLTF importer is experimental and may produce unexpected results', gltf_experimental: 'The GLTF importer is experimental and may produce unexpected results',
components: { components: {
input: '3D Model (.obj, .gltf/.glb)', input: '3D Model (.obj, .glb)',
rotation: 'Rotation', rotation: 'Rotation',
}, },
}, },

View File

@ -37,7 +37,7 @@ export const fr_FR = {
failed_to_parse_line: 'Impossible de lire la ligne "{{line}}", raison : "{{error}}"', failed_to_parse_line: 'Impossible de lire la ligne "{{line}}", raison : "{{error}}"',
gltf_experimental: 'L\'importeur GLTF est expérimental et peut se comporter de manière inattendue', gltf_experimental: 'L\'importeur GLTF est expérimental et peut se comporter de manière inattendue',
components: { components: {
input: 'Modèle 3D (.obj, .gltf/.glb)', input: 'Modèle 3D (.obj, .glb)',
rotation: 'Rotation', rotation: 'Rotation',
}, },
}, },

View File

@ -36,7 +36,7 @@ export const zh_CN = {
failed_to_parse_line: '尝试解析 "{{line}}" 失败,原因: "{{error}}"', failed_to_parse_line: '尝试解析 "{{line}}" 失败,原因: "{{error}}"',
gltf_experimental: '导入 GLTF 目前为实验性功能,可能产生预料外的结果', gltf_experimental: '导入 GLTF 目前为实验性功能,可能产生预料外的结果',
components: { components: {
input: '3D 模型(.obj, .gltf/.glb', input: '3D 模型(.obj, /.glb)',
rotation: '旋转', rotation: '旋转',
}, },
}, },
@ -50,7 +50,7 @@ export const zh_CN = {
'material_type': '类型', 'material_type': '类型',
'solid': '纯色', 'solid': '纯色',
'textured': '纹理', 'textured': '纹理',
'no_image_loaded' : '未加载图像', 'no_image_loaded': '未加载图像',
'choose': '选择', 'choose': '选择',
'texture_filtering': '纹理过滤', 'texture_filtering': '纹理过滤',
'texture_wrap': '纹理环绕', 'texture_wrap': '纹理环绕',

View File

@ -11,9 +11,9 @@ export class AppConfig {
public readonly RELEASE_MODE = true; public readonly RELEASE_MODE = true;
public readonly MAJOR_VERSION = 0; public readonly MAJOR_VERSION = 0;
public readonly MINOR_VERSION = 8; public readonly MINOR_VERSION = 8;
public readonly HOTFIX_VERSION = 1; public readonly HOTFIX_VERSION = 2;
public readonly VERSION_TYPE: 'd' | 'a' | 'r' = 'r'; // dev, alpha, or release build public readonly VERSION_TYPE: 'd' | 'a' | 'r' = 'r'; // dev, alpha, or release build
public readonly MINECRAFT_VERSION = '1.19.3'; public readonly MINECRAFT_VERSION = '1.19.4';
public readonly LOCALE = 'en_GB'; public readonly LOCALE = 'en_GB';
public readonly VOXEL_BUFFER_CHUNK_SIZE = 5_000; public readonly VOXEL_BUFFER_CHUNK_SIZE = 5_000;

View File

@ -15,7 +15,7 @@ export class FileComponent extends ConfigComponent<File, HTMLDivElement> {
protected override _generateInnerHTML() { protected override _generateInnerHTML() {
return ` return `
<div class="input-file struct-prop" id="${this._getId()}"> <div class="input-file struct-prop" id="${this._getId()}">
<input type="file" accept=".obj,.gltf,.glb" style="display: none;" id="${this._getId()}-input"> <input type="file" accept=".obj,,.glb" style="display: none;" id="${this._getId()}-input">
${this._loadedFilePath} ${this._loadedFilePath}
</div> </div>
`; `;