chore(testing): added missing component filtering
This commit is contained in:
parent
0172bbe511
commit
0432769bda
|
@ -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::<ComponentAToFilterOut>(),
|
||||
TypeId::of::<ComponentBToFilterOut>(),
|
||||
// and any other commponent you want to include/exclude
|
||||
])),
|
||||
..Default::default()},
|
||||
..Default::default()
|
||||
},
|
||||
BlueprintsPlugin {
|
||||
library_folder: "blueprints".into(),
|
||||
format: GltfFormat::GLB,
|
||||
|
|
Loading…
Reference in New Issue