mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 20:53:53 +00:00
66f495c44e
# Objective
`NodeBundle` contains an `image` field, which can be misleading, because if you do supply an image there, nothing will be shown to screen. You need to use an `ImageBundle` instead.
## Solution
* `image` (`UiImage`) field is removed from `NodeBundle`,
* extraction stage queries now make an optional query for `UiImage`, if one is not found, use the image handle that is used as a default by `UiImage`:
|
||
---|---|---|
.. | ||
src | ||
Cargo.toml |