Fixes gltf import naming_version mixup

This commit is contained in:
Dominik authored and Dominik Schneider committed 2026-04-29 13:00:53 +02:00
1 parent fd8c4ef3e9
commit 901f8f113b
2 files changed
+2 -2

No files matched your search

@@ -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;
}
}