Closed aarthificial closed 4 months ago
Fixes a bug where hierarchy_ui doesn't return true when the selection is modified by clicking on a nested entity. This problem can be reproduced by running the egui_dock exmaple:
hierarchy_ui
true
egui_dock
cargo run --example egui_dock
Pbr Mesh (6v0)
Resources
PointLight (7v0)
Doing so should update the inspector to display information about the point light but it doesn't because hierarchy_ui doesn't return true in this case: https://github.com/jakobhellermann/bevy-inspector-egui/blob/1b916a05df5c04f342de53880130dcfcc345db24/crates/bevy-inspector-egui/examples/integrations/egui_dock.rs#L213-L216
Thanks!
Fixes a bug where
hierarchy_ui
doesn't returntrue
when the selection is modified by clicking on a nested entity. This problem can be reproduced by running theegui_dock
exmaple:Pbr Mesh (6v0)
entity on the leftResources
PointLight (7v0)
on the leftDoing so should update the inspector to display information about the point light but it doesn't because
hierarchy_ui
doesn't returntrue
in this case: https://github.com/jakobhellermann/bevy-inspector-egui/blob/1b916a05df5c04f342de53880130dcfcc345db24/crates/bevy-inspector-egui/examples/integrations/egui_dock.rs#L213-L216