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

Avoid doing this every frame when there have been no assets loaded. #223

Open
github-actions bot opened this issue Oct 11, 2023 · 0 comments
Open
Labels
code:todo A TODO/FIXME comment in code.

Comments

@github-actions
Copy link

We should should be able to use the asset load progress event listener to detect newly loaded assets that will need to be handled.


.shared_resource_cell::<bones::EguiTextures>()
.unwrap();
// TODO: Avoid doing this every frame when there have been no assets loaded.
// We should should be able to use the asset load progress event listener to detect newly
// loaded assets that will need to be handled.
let mut bones_egui_textures = bones_egui_textures_cell.borrow_mut();
// Take all loaded image assets and conver them to external images that reference bevy handles
bones_image_ids.load_bones_images(


This issue was generated by todo-issue based on a TODO comment in b91e278.
@github-actions github-actions bot added the code:todo A TODO/FIXME comment in code. label Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code:todo A TODO/FIXME comment in code.
Projects
None yet
Development

No branches or pull requests

0 participants