-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
Fix issues #570, #575 #576
Conversation
CI is failing because CI is using an old Rust compiler:
Checking Bumpalo, here's the change that broke it: Fix MSRV in Cargo.toml; bump to version 3.15.1 Current stable Rust is rustc 1.76.0. Github continuous integration for Rend3 uses 1.72. So the CI file needs an update. |
…'bumpalo' will work
…1.76 so 'bumpalo' will work" This reverts commit 89c1d1b. Can't change CI rules, not owner.
I can't fix the CI problem. I don't have permission to modify the CI workflow. |
@John-Nagle you can likely fix it, I just need to manually approve the CI run - this only happens on your first PR. On your second PR, CI will run automatically |
I got a Git permissions error trying to commit "@John-Nagle |
CI for mac is stuck waiting for a runner, for 23 hours now. All other runs finished in the first minute. Is that normal? |
How can I get this un-stuck? The mac CI waited 24 hours for a runner and then Github aborted the job. |
I can't push to your branch as it's trunk - but will merge this and fix it. |
Checklist
cargo fmt
has been rancargo clippy
reports no issuescargo test
succeeds (2 failures - scene-viewer tests need two.gltf files not present in the project, same as before.cargo rend3-doc
has no warningscargo deny check
issues have been fixed or added to deny.tomlAdded new functionality @githubname
.Related Issues
Description
Issue #570 required a mechanism to allow the application to override the default action of requesting a redraw immediately after redrawing each frame. So a new function, handle_redraw_done, was added to the App trait in rend3_framework. The default implementation of the trait mantains old behavior by requesting another redraw at the end of each redraw. Applications where the platform does not give non-redraw events priority over redraw events (this includes Windows executables running under Wine) can override the default behavior and redraw only when the event loop is about to wait.
Issue #575 was fixed by removing some dead code which imported "reqwest", pulling in but not using "tokio".
Also fixed the framework to allow the logger to be initialized more than once. This allows "cargo test" to run without panics.