Skip to content

Commit c520ec4

Browse files
corehmockersf
authored andcommitted
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
1 parent b5bfc4b commit c520ec4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/bevy_text/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ impl Plugin for TextPlugin {
118118
.register_type::<TextBounds>()
119119
.register_type::<TextLayout>()
120120
.register_type::<ComputedTextBlock>()
121+
.register_type::<TextEntity>()
121122
.init_asset_loader::<FontLoader>()
122123
.init_resource::<FontAtlasSets>()
123124
.init_resource::<TextPipeline>()

0 commit comments

Comments
 (0)