bevy/examples/tools
Rob Parrett 6138575c6c Fix panics in scene_viewer and audio_control (#16983)
Fixes #16978

While testing, discovered that the morph weight interface in
`scene_viewer` has been broken for a while (panics when loaded model has
morph weights), probably since #15591. Fixed that too.

While testing, saw example text in morph interface with [wrong
padding](https://bevyengine.org/learn/contribute/helping-out/creating-examples/#visual-guidelines).
Fixed that too. Left the small font size because there may be a lot of
morphs to display, so that seems intentional.

Use normal queries and bail early

Morph interface can be tested with
```
cargo run --example scene_viewer assets/models/animated/MorphStressTest.gltf
```

I noticed that this fix is different than what is happening in #16976.
Feel free to discard this for an alternative fix. I opened this anyway
to document the issue with morph weight display.

This is on top of #16966 which is required to test.

---------

Co-authored-by: François Mockers <francois.mockers@vleue.com>
Co-authored-by: François Mockers <mockersf@gmail.com>
2025-01-03 19:31:45 +01:00
..
scene_viewer Fix panics in scene_viewer and audio_control (#16983) 2025-01-03 19:31:45 +01:00
gamepad_viewer.rs Revert most of #16222 and add gamepad accessors (#16425) 2024-11-19 22:10:24 +01:00