mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-28 08:58:07 +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(
|
fn check_for_capture_complete(
|
||||||
mut commands : Commands,
|
mut commands: Commands,
|
||||||
mut close_app: EventWriter<AppExit>,
|
mut close_app: EventWriter<AppExit>,
|
||||||
main_camera: Query<(Entity, &ScreenCapture), With<MainCamera>>,
|
main_camera: Query<(Entity, &ScreenCapture), With<MainCamera>>,
|
||||||
bvh_event_reader: EventReader<BvhAnimCompleteEvent>,
|
bvh_event_reader: EventReader<BvhAnimCompleteEvent>,
|
||||||
|
|||||||
+1
-1
@@ -330,7 +330,7 @@ fn frame_scene_in_view(
|
|||||||
mut cmd: Commands,
|
mut cmd: Commands,
|
||||||
q_aabbs: Query<(&Aabb, &GlobalTransform), With<SceneAutoChild>>,
|
q_aabbs: Query<(&Aabb, &GlobalTransform), With<SceneAutoChild>>,
|
||||||
mut q_camera: Query<(&mut CameraController, &mut Transform, &Projection)>,
|
mut q_camera: Query<(&mut CameraController, &mut Transform, &Projection)>,
|
||||||
) {
|
) {
|
||||||
let Ok((mut cam, mut cam_xform, cam_proj)) = q_camera.get_single_mut() else {
|
let Ok((mut cam, mut cam_xform, cam_proj)) = q_camera.get_single_mut() else {
|
||||||
error!("Failed to get camera controller");
|
error!("Failed to get camera controller");
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user