diff options
author | Lyuma <xn.lyuma@gmail.com> | 2024-05-20 02:56:57 -0700 |
---|---|---|
committer | Lyuma <xn.lyuma@gmail.com> | 2024-05-21 07:58:36 -0700 |
commit | c433754d3483515aab7a4201f12f83fcbd1050b3 (patch) | |
tree | 1ccbd48f11d784d99c3338c32ea9871f078bd9e9 /modules | |
parent | bd2300d77a6008167043f23fd91bcc562cde0a19 (diff) | |
download | redot-engine-c433754d3483515aab7a4201f12f83fcbd1050b3.tar.gz |
fbx: change import option defaults
ufbx has special logic to handle animation/trimming, and most users expect trimming to be on.
For existing projects, we should upgrade files0 to FBX2glTF to preserve node compatibility.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/fbx/editor/editor_scene_importer_ufbx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/fbx/editor/editor_scene_importer_ufbx.cpp b/modules/fbx/editor/editor_scene_importer_ufbx.cpp index 3cc919fae2..e0f60fe998 100644 --- a/modules/fbx/editor/editor_scene_importer_ufbx.cpp +++ b/modules/fbx/editor/editor_scene_importer_ufbx.cpp @@ -111,7 +111,7 @@ void EditorSceneFormatImporterUFBX::get_import_options(const String &p_path, void EditorSceneFormatImporterUFBX::handle_compatibility_options(HashMap<StringName, Variant> &p_import_params) const { if (!p_import_params.has("fbx/importer")) { - p_import_params["fbx/importer"] = EditorSceneFormatImporterUFBX::FBX_IMPORTER_UFBX; + p_import_params["fbx/importer"] = EditorSceneFormatImporterUFBX::FBX_IMPORTER_FBX2GLTF; } } |