-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new scene import option to import as Skeleton #88819
Add new scene import option to import as Skeleton #88819
Conversation
0a26b5a
to
97cfdf1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The description looks sound
@@ -667,6 +678,10 @@ void SceneImportSettingsDialog::open_settings(const String &p_path, bool p_for_a | |||
first_aabb = false; | |||
} | |||
|
|||
const HashMap<StringName, Variant> &main_settings = scene_import_settings_data->current; | |||
if (main_settings.find("nodes/import_as_skeleton_bones")) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (main_settings.find("nodes/import_as_skeleton_bones")) { | |
if (main_settings.has("nodes/import_as_skeleton_bones")) { |
I love this so much! At some point I've spent countless hours trying to import an "empty nodes" animation from an FBX. Blender wasn't much help either, even with a "Better FBX" plugin. I think having this in core will save many users from a lot of headache. |
Adds a bool import option `nodes/import_as_skeleton_bones`. This is supported in all FBX or GLTF document based formats. It is especially useful for retargeting and importing animations.
97cfdf1
to
652ef96
Compare
Thanks! |
Adds a bool import option
nodes/import_as_skeleton_bones
.This is supported in all FBX or GLTF document based formats. It is especially useful for retargeting and importing animations.
Examples:
Before:
After:
Fixes #81935
Fixes #62275 (if not already fixed by ufbx)
May mitigate problems such as #78028, though this is really an export bug
I suspect there are more issues