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:
Marco Buono 2024-12-04 15:16:48 -03:00 committed by François Mockers
parent b5bfc4b464
commit c520ec4287

View File

@ -118,6 +118,7 @@ impl Plugin for TextPlugin {
.register_type::<TextBounds>()
.register_type::<TextLayout>()
.register_type::<ComputedTextBlock>()
.register_type::<TextEntity>()
.init_asset_loader::<FontLoader>()
.init_resource::<FontAtlasSets>()
.init_resource::<TextPipeline>()