Revert "Move source_update after transform propagation."

This didn't fix the bug I hoped it would, and introduced new regressions.

This reverts commit 097fb6100d.
This commit is contained in:
Nolan Darilek 2021-05-23 12:53:56 -05:00
parent 097fb6100d
commit de94dd5322

View File

@ -13,7 +13,6 @@ use bevy::{
asset::{AssetLoader, HandleId, LoadContext, LoadedAsset}, asset::{AssetLoader, HandleId, LoadContext, LoadedAsset},
prelude::*, prelude::*,
reflect::TypeUuid, reflect::TypeUuid,
transform::TransformSystem,
utils::BoxedFuture, utils::BoxedFuture,
}; };
use lewton::inside_ogg::OggStreamReader; use lewton::inside_ogg::OggStreamReader;
@ -444,12 +443,7 @@ impl Plugin for OpenAlPlugin {
.insert_resource(GlobalEffects::default()) .insert_resource(GlobalEffects::default())
.register_type::<Listener>() .register_type::<Listener>()
.add_system(buffer_creation.system()) .add_system(buffer_creation.system())
.add_system_to_stage( .add_system(source_update.system())
CoreStage::PostUpdate,
source_update
.system()
.after(TransformSystem::TransformPropagate),
)
.add_system(listener_update.system()); .add_system(listener_update.system());
} }
} }