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

Drain ExtractedUiNodes in prepare_uinodes #9142

Merged
merged 1 commit into from Jul 13, 2023

Commits on Jul 13, 2023

  1. bevy_ui::render

    `ExtractedUiNodes` is cleared by the `extract_uinodes` function during the extraction phase. Because the Bevy UI renderer uses the painters algorithm, this makes it impossible for users to create a custom extraction function that adds items for a node to be drawn behind the rectangle added by `extract_uniodes`.
    
    With this commit, `ExtractUiNodes` is drained in `prepare_ui_nodes` instead, after the extraction schedule has finished.
    ickshonpe committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    d4d5417 View commit details
    Browse the repository at this point in the history