bevy/examples/tools/scene_viewer
JMS55 17f045e2a0
Delay asset hot reloading (#8503)
# Objective

- Fix #5631 

## Solution

- Wait 50ms (configurable) after the last modification event before
reloading an asset.

---

## Changelog

- `AssetPlugin::watch_for_changes` is now a `ChangeWatcher` instead of a
`bool`
- Fixed https://github.com/bevyengine/bevy/issues/5631

## Migration Guide
- Replace `AssetPlugin::watch_for_changes: true` with e.g.
`ChangeWatcher::with_delay(Duration::from_millis(200))`

---------

Co-authored-by: François <mockersf@gmail.com>
2023-05-16 01:26:11 +00:00
..
camera_controller_plugin.rs Fixed several missing links in docs. (#8117) 2023-04-23 17:28:36 +00:00
main.rs Delay asset hot reloading (#8503) 2023-05-16 01:26:11 +00:00
scene_viewer_plugin.rs Add a bounding box gizmo (#8468) 2023-04-24 15:23:06 +00:00