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

FBXLoader: Add UnitScaleFactor to scene's userData. #27187

Merged
merged 1 commit into from Nov 14, 2023
Merged

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Nov 14, 2023

Fixed #20402.

Description

FBXLoader now reads the global setting UnitScaleFactor from the asset and puts it in the userData field of the scene. By not automatically honor this value in the scene's scale, the loader does not break existing usage and every app can decide whether it want to use the scale factor or not.

@Mugen87 Mugen87 added this to the r159 milestone Nov 14, 2023
@Mugen87 Mugen87 merged commit 75cb813 into mrdoob:dev Nov 14, 2023
11 checks passed
AdaRoseCannon pushed a commit to AdaRoseCannon/three.js that referenced this pull request Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FBXLoader ignore the model unit scale factor
1 participant