Skip to content

Revert "Fix sprite performance regression since retained render world (#17078)"#17123

Merged
cart merged 1 commit intobevyengine:mainfrom
rparrett:revert-17078
Jan 4, 2025
Merged

Revert "Fix sprite performance regression since retained render world (#17078)"#17123
cart merged 1 commit intobevyengine:mainfrom
rparrett:revert-17078

Conversation

@rparrett
Copy link
Copy Markdown
Contributor

@rparrett rparrett commented Jan 3, 2025

Objective

Fixes #17098

It seems that it's not totally obvious how to fix this, but that reverting might be part of the solution anyway.

Let's get the repo back into a working state.

Solution

Revert the recent optimization that broke "many-to-one main->render world entities" for 2d.

Testing

cargo run --example text2d
cargo run --example sprite_slice

@BenjaminBrienen BenjaminBrienen added C-Bug An unexpected or incorrect behavior A-Rendering Drawing game state to the screen S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it P-Regression Functionality that used to work but no longer does. Add a test for this! D-Straightforward Simple bug fixes and API improvements, docs, test and examples labels Jan 3, 2025
@cart cart added this pull request to the merge queue Jan 4, 2025
Merged via the queue into bevyengine:main with commit 859c2d7 Jan 4, 2025
mrchantey pushed a commit to mrchantey/bevy that referenced this pull request Feb 4, 2025
…bevyengine#17078)" (bevyengine#17123)

# Objective

Fixes bevyengine#17098

It seems that it's not totally obvious how to fix this, but that
reverting might be part of the solution anyway.

Let's get the repo back into a working state.

## Solution

Revert the [recent
optimization](bevyengine#17078) that broke
"many-to-one main->render world entities" for 2d.

## Testing

`cargo run --example text2d`
`cargo run --example sprite_slice`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior D-Straightforward Simple bug fixes and API improvements, docs, test and examples P-Regression Functionality that used to work but no longer does. Add a test for this! S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

Text2d and nine-slicing is broken

4 participants