Fixes gltf import naming_version mixup

This commit is contained in:
Dominik
2026-04-29 12:50:23 +02:00
committed by Dominik Schneider
parent fd8c4ef3e9
commit 901f8f113b
2 changed files with 2 additions and 2 deletions
@@ -420,7 +420,7 @@ void EditorSceneFormatImporterBlend::handle_compatibility_options(HashMap<String
if (!p_import_params.has("gltf/texture_map_mode")) {
// If an existing import file is missing the glTF
// texture map mode, we need to use "Do Not Remap".
p_import_params["gltf/naming_version"] = (int64_t)GLTFDocument::TEXTURE_MAP_MODE_DO_NOT_REMAP;
p_import_params["gltf/texture_map_mode"] = (int64_t)GLTFDocument::TEXTURE_MAP_MODE_DO_NOT_REMAP;
}
}
@@ -100,7 +100,7 @@ void EditorSceneFormatImporterGLTF::handle_compatibility_options(HashMap<StringN
if (!p_import_params.has("gltf/texture_map_mode")) {
// If an existing import file is missing the glTF
// texture map mode, we need to use "Do Not Remap".
p_import_params["gltf/naming_version"] = (int64_t)GLTFDocument::TEXTURE_MAP_MODE_DO_NOT_REMAP;
p_import_params["gltf/texture_map_mode"] = (int64_t)GLTFDocument::TEXTURE_MAP_MODE_DO_NOT_REMAP;
}
}