From 6b78684650174bc1f3955becb3594824c0004d89 Mon Sep 17 00:00:00 2001 From: Nova Date: Wed, 13 Aug 2025 11:22:31 -0700 Subject: [PATCH] fix: remove out --- src/main.rs | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/src/main.rs b/src/main.rs index f5c6dc2..a115a89 100644 --- a/src/main.rs +++ b/src/main.rs @@ -17,7 +17,6 @@ use bevy::app::{App, ScheduleRunnerPlugin, TerminalCtrlCHandlerPlugin}; use bevy::asset::{AssetMetaCheck, UnapprovedPathMode}; use bevy::audio::AudioPlugin; use bevy::core_pipeline::CorePipelinePlugin; -use bevy::core_pipeline::oit::OrderIndependentTransparencySettings; use bevy::diagnostic::DiagnosticsPlugin; use bevy::ecs::schedule::{ExecutorKind, ScheduleLabel}; use bevy::gizmos::GizmoPlugin; @@ -457,26 +456,6 @@ fn cam_observer( *msaa = Msaa::Off; } -fn add_oit( - mut commands: Commands, - cameras: Query< - Entity, - ( - With, - Without, - ), - >, -) { - for entity in &cameras { - commands - .entity(entity) - .insert(OrderIndependentTransparencySettings { - layer_count: 4, - alpha_threshold: 0.00, - }); - } -} - fn xr_step(world: &mut World) { // update things like the Xr input methods world.run_schedule(PreFrameWait);