Use gltf instead of binary.

This commit is contained in:
K. S. Ernest (iFire) Lee 2021-11-28 12:34:07 -08:00
parent dedca983d9
commit 073b4dac57
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ func _import_scene(path: String, flags: int, bake_fps: int):
ProjectSettings.add_property_info(property_info)
var user_path_base = OS.get_user_data_dir()
var path_global : String = ProjectSettings.globalize_path(path)
var output_path : String = "res://.godot/imported/" + path.get_file().get_basename() + "-" + path.md5_text() + ".glb"
var output_path : String = "res://.godot/imported/" + path.get_file().get_basename() + "-" + path.md5_text() + ".gltf"
var output_path_global = ProjectSettings.globalize_path(output_path)
var stdout = [].duplicate()
var temp_dir_global = ProjectSettings.globalize_path("res://.godot/imported/")