mirror of
https://github.com/bevyengine/bevy
synced 2024-12-18 17:13:10 +00:00
Add missing registration for TextEntity
(#16649)
# Objective Fix a [Blenvy](https://github.com/kaosat-dev/Blenvy) crash due to a missing type registration for `TextEntity` (as the type is used by `ComputedTextBlock` but wasn't itself registered.) ## Solution - Added the missing type registration ## Testing - N/A
This commit is contained in:
parent
56c70f8463
commit
7dfc77b999
1 changed files with 1 additions and 0 deletions
|
@ -118,6 +118,7 @@ impl Plugin for TextPlugin {
|
||||||
.register_type::<TextBounds>()
|
.register_type::<TextBounds>()
|
||||||
.register_type::<TextLayout>()
|
.register_type::<TextLayout>()
|
||||||
.register_type::<ComputedTextBlock>()
|
.register_type::<ComputedTextBlock>()
|
||||||
|
.register_type::<TextEntity>()
|
||||||
.init_asset_loader::<FontLoader>()
|
.init_asset_loader::<FontLoader>()
|
||||||
.init_resource::<FontAtlasSets>()
|
.init_resource::<FontAtlasSets>()
|
||||||
.init_resource::<TextPipeline>()
|
.init_resource::<TextPipeline>()
|
||||||
|
|
Loading…
Reference in a new issue