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

account for "still loading" textures in RenderResourceNodes #1000

Merged
merged 1 commit into from
Dec 4, 2020

Conversation

cart
Copy link
Member

@cart cart commented Dec 4, 2020

Fixes #996

The problem was that we're now only updating entity/asset render resources when they change, but in the case of textures, they might not be loaded when the main RenderResources finishes loading.

We now "retry" assigning textures to render resources for these entities/assets on the next update (and continue doing that until the texture is loaded).

@cart cart added C-Bug An unexpected or incorrect behavior A-Rendering Drawing game state to the screen labels Dec 4, 2020
@cart cart force-pushed the fix-render-resource-textures branch from 7c45380 to 8217014 Compare December 4, 2020 04:34
@cart cart merged commit d601eeb into bevyengine:master Dec 4, 2020
@fopsdev fopsdev mentioned this pull request Jan 24, 2021
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sprite spawned after start is not displayed
1 participant