You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Log reloads only when an asset has been reloaded (#21218)
# Objective
- Prevent logging reloading for all the files that change in the assets
folder to avoid logging for temporary files that are usually created
during save or for raw asset files that are never really loaded because
they are exported in another format. For example the asset folder could
have .blender files but the user is exporting to glb/gltf.
## Solution
- Added a new function called reload_internal that has a log parameter
and moved the logging inside that function.
## Testing
- Did you test these changes? If so, how?
cargo run --example hot_asset_reloading --features bevy/file_watcher
cp assets/models/animated/MorphStressTest.gltf
assets/models/torus/torus.gltf
- Are there any parts that need more testing?
No
- How can other people (reviewers) test your changes? Is there anything
specific they need to know?
This can be tested easily by running an example that loads an asset and
do changes to it.
- If relevant, what platforms did you test these changes on, and are
there any important ones you can't test?
Linux
0 commit comments