Skip to content
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

FBX: Change trimming default and use FBX2glTF for compatibility #92197

Merged
merged 1 commit into from
May 21, 2024

Conversation

lyuma
Copy link
Contributor

@lyuma lyuma commented May 21, 2024

ufbx has special logic to handle animation/trimming, and most users expect trimming to be on.

For existing projects, we should upgrade files to FBX2glTF to preserve node compatibility.

Not sure if there is a specific issue filed for this, but we discussed both of these issues at the last asset meeting.

Most of the change is enabling the ImportDock to read the compatibility options. The current behavior has Godot confusingly showing the user the default settings even when a file was imported with compatibility. The next import would then overwrite the compatibility options.

@lyuma lyuma requested review from a team as code owners May 21, 2024 10:29
@fire fire mentioned this pull request May 21, 2024
13 tasks
@fire
Copy link
Member

fire commented May 21, 2024

Need to check if fixes #90298 (ufbx still imports animations even when turned off in import panel)

@akien-mga akien-mga added this to the 4.3 milestone May 21, 2024
@akien-mga akien-mga changed the title fbx: change trimming default and use FBX2glTF for compatibility FBX: Change trimming default and use FBX2glTF for compatibility May 21, 2024
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.
@lyuma
Copy link
Contributor Author

lyuma commented May 21, 2024

Need to check if fixes #90298 (ufbx still imports animations even when turned off in import panel)

No, fixing animation import and bake_fps (both are currently ignored in ufbx) will be a separate PR.

@akien-mga akien-mga merged commit 03aa828 into godotengine:master May 21, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Release Blocker
Development

Successfully merging this pull request may close these issues.

3 participants