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

Fix matrix -> FTransform conversion for matrices with small scales #1599

Merged
merged 7 commits into from
Jan 31, 2025

Conversation

kring
Copy link
Member

@kring kring commented Jan 29, 2025

Fixes #1598

@kring kring added this to the February 2025 Release milestone Jan 31, 2025
@j9liu j9liu self-requested a review January 31, 2025 15:45
CHANGES.md Outdated
@@ -12,6 +12,7 @@
##### Fixes :wrench:

- Fixed another bug in `CesiumSubLevelSwitcherComponent` that could prevent all sub-levels from loading if a single sub-level failed to load.
- Worked around a limitation in Unreal's `FMatrix` -> `FTransform` conversion that caused models using a small scale factor (such as where vertex positions are expressed in millimeters) to fail to render because their scale was treated as 0.0.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some slight rewording:

Suggested change
- Worked around a limitation in Unreal's `FMatrix` -> `FTransform` conversion that caused models using a small scale factor (such as where vertex positions are expressed in millimeters) to fail to render because their scale was treated as 0.0.
- Worked around a limitation in Unreal's `FMatrix` -> `FTransform` conversion that prevented models with a small scale factor (e.g., where vertex positions are expressed in millimeters) from rendering because their scale was treated as 0.0.

@j9liu
Copy link
Contributor

j9liu commented Jan 31, 2025

Thanks @kring ! This looks good to me, I'll just do that one changelog edit and merge.

@j9liu j9liu merged commit 3f061e2 into main Jan 31, 2025
2 of 14 checks passed
@j9liu j9liu deleted the small-scale-matrix-to-transform branch January 31, 2025 19:24
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.

Models that are scaled down by a factor of 0.001 or smaller will not render in Unreal
2 participants