From 6b0a8b72feffcf09bb0e0da31f190da16a374320 Mon Sep 17 00:00:00 2001 From: akimakinai <105044389+akimakinai@users.noreply.github.com> Date: Tue, 15 Oct 2024 22:07:37 +0900 Subject: [PATCH] Remove `ExtractComponent::Out` --- crates/bevy_render/src/extract_component.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/bevy_render/src/extract_component.rs b/crates/bevy_render/src/extract_component.rs index da027ebf0f9ae..64e744775ffaf 100644 --- a/crates/bevy_render/src/extract_component.rs +++ b/crates/bevy_render/src/extract_component.rs @@ -207,7 +207,7 @@ fn extract_components( if let Some(component) = C::extract_component(query_item) { values.push((entity, component)); } else { - commands.entity(entity).remove::(); + commands.entity(entity).remove::(); } } *previous_len = values.len(); @@ -226,7 +226,7 @@ fn extract_visible_components( if let Some(component) = C::extract_component(query_item) { values.push((entity, component)); } else { - commands.entity(entity).remove::(); + commands.entity(entity).remove::(); } } }