From 0432769bdac4818809dffdcbbebded7b030e1f31 Mon Sep 17 00:00:00 2001 From: "kaosat.dev" Date: Sun, 12 May 2024 11:05:45 +0200 Subject: [PATCH] chore(testing): added missing component filtering --- testing/bevy_example/src/core/mod.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/testing/bevy_example/src/core/mod.rs b/testing/bevy_example/src/core/mod.rs index fb48d3a..f83ecaa 100644 --- a/testing/bevy_example/src/core/mod.rs +++ b/testing/bevy_example/src/core/mod.rs @@ -10,14 +10,15 @@ pub struct CorePlugin; impl Plugin for CorePlugin { fn build(&self, app: &mut App) { app.add_plugins(( - ExportRegistryPlugin{ - - component_filter: SceneFilter::Denylist(HashSet::from([ // this is using Bevy's build in SceneFilter, you can compose what components you want to allow/deny + ExportRegistryPlugin { + component_filter: SceneFilter::Denylist(HashSet::from([ + // this is using Bevy's build in SceneFilter, you can compose what components you want to allow/deny TypeId::of::(), TypeId::of::(), // and any other commponent you want to include/exclude ])), - ..Default::default()}, + ..Default::default() + }, BlueprintsPlugin { library_folder: "blueprints".into(), format: GltfFormat::GLB,