Skip to content

Commit 9afa86e

Browse files
andrewhickmanmockersf
authored andcommitted
Add type registration for PickingInteraction (#17372)
I noticed that this component was not being returned correctly by the `bevy_remote` api ```json "errors": { "bevy_picking::focus::PickingInteraction": { "code": -23402, "message": "Unknown component type: `bevy_picking::focus::PickingInteraction`" } } ```
1 parent fcc6b4d commit 9afa86e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/bevy_picking/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,7 @@ impl Plugin for PickingPlugin {
362362
)
363363
.register_type::<Self>()
364364
.register_type::<PickingBehavior>()
365+
.register_type::<focus::PickingInteraction>()
365366
.register_type::<pointer::PointerId>()
366367
.register_type::<pointer::PointerLocation>()
367368
.register_type::<pointer::PointerPress>()

0 commit comments

Comments
 (0)