bevy_scene: Add missing registration for SmallVec<[Entity; 8]> (#6578)
# Objective > Part of #6573 `Children` was not being properly deserialized in scenes. This was due to a missing registration on `SmallVec<[Entity; 8]>`, which is used by `Children`. ## Solution Register `SmallVec<[Entity; 8]>`. --- ## Changelog - Registered `SmallVec<[Entity; 8]>`
This commit is contained in:
parent
4c8b85c188
commit
aaf806d089
@ -41,6 +41,7 @@ impl Plugin for HierarchyPlugin {
|
|||||||
fn build(&self, app: &mut App) {
|
fn build(&self, app: &mut App) {
|
||||||
app.register_type::<Children>()
|
app.register_type::<Children>()
|
||||||
.register_type::<Parent>()
|
.register_type::<Parent>()
|
||||||
|
.register_type::<smallvec::SmallVec<[bevy_ecs::entity::Entity; 8]>>()
|
||||||
.add_event::<HierarchyEvent>();
|
.add_event::<HierarchyEvent>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user