mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-17 00:13:17 +00:00
ran the formatter
This commit is contained in:
+1
-1
@@ -376,7 +376,7 @@ impl Default for HeadlessSettings {
|
||||
}
|
||||
|
||||
fn check_for_capture_complete(
|
||||
mut commands : Commands,
|
||||
mut commands: Commands,
|
||||
mut close_app: EventWriter<AppExit>,
|
||||
main_camera: Query<(Entity, &ScreenCapture), With<MainCamera>>,
|
||||
bvh_event_reader: EventReader<BvhAnimCompleteEvent>,
|
||||
|
||||
+1
-1
@@ -330,7 +330,7 @@ fn frame_scene_in_view(
|
||||
mut cmd: Commands,
|
||||
q_aabbs: Query<(&Aabb, &GlobalTransform), With<SceneAutoChild>>,
|
||||
mut q_camera: Query<(&mut CameraController, &mut Transform, &Projection)>,
|
||||
) {
|
||||
) {
|
||||
let Ok((mut cam, mut cam_xform, cam_proj)) = q_camera.get_single_mut() else {
|
||||
error!("Failed to get camera controller");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user