Contributions.
Bevy
Changes I submitted to the Rust game engine that the Bevy team has merged.
4 merged changes
-
#26454
Warn once when a viewport image is missing
A missing viewport image now triggers a warning just once per run. Resizing across frames used to repeat the warning.
-
#26051
Resize a viewport after its image is removed
The viewport checks that its image still exists before resizing it. I added tests for a removed image, normal resizing and the one-pixel minimum on each axis.
-
#26050
A default value for Option<T>
The reflection system can obtain the default value of Option<T>, which is None, even when T has no default of its own.
-
#25995
What a timer returns when it runs over
A timer reports zero time remaining when elapsed time exceeds its duration. Its completion count saturates at the maximum so the completion signal is preserved.