mirror of
https://github.com/bevyengine/bevy
synced 2024-11-25 22:20:20 +00:00
1e8ca45aeb
# Objective - The `scene_viewer` example assumes the `animation` feature is enabled, which it is by default. However, animations may have a performance cost that is undesirable when testing performance, for example. Then it is useful to be able to disable the `animation` feature and one would still like the `scene_viewer` example to work. ## Solution - Gate animation code in `scene_viewer` on the `animation` feature being enabled. |
||
---|---|---|
.. | ||
scene_viewer.rs |