You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
measure_text_system queries for the camera entity of a text node and then using the camera entity looks up the camera target's scale factor. Then to detect if the scale factor has changed it looks up the camera's scale factor from the previous frame it keeps stored in a Local and compares them. But if the text node's target camera was changed since the previous frame it will be comparing the wrong scale factors and the text node's measure func won't be updated if its scale factor changed.
The text was updated successfully, but these errors were encountered:
ickshonpe
added
A-Text
Rendering and layout for characters
C-Bug
An unexpected or incorrect behavior
A-UI
Graphical user interfaces, styles, layouts, and widgets
labels
Jan 28, 2025
Bevy version
main
What's wrong
measure_text_system
queries for the camera entity of a text node and then using the camera entity looks up the camera target's scale factor. Then to detect if the scale factor has changed it looks up the camera's scale factor from the previous frame it keeps stored in aLocal
and compares them. But if thetext
node's target camera was changed since the previous frame it will be comparing the wrong scale factors and thetext
node's measure func won't be updated if its scale factor changed.The text was updated successfully, but these errors were encountered: