mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-11-02 18:08:19 +00:00
Headless mode Orbit (#66)
This commit is contained in:
@@ -147,7 +147,7 @@ fn extract_screen_capture_components(
|
||||
) {
|
||||
for (entity, screen_capture) in screen_capure_comps.iter() {
|
||||
if screen_capture.should_capture() {
|
||||
println!(
|
||||
info!(
|
||||
"Capturing Frame: {} / {}",
|
||||
screen_capture.frames, screen_capture.max_frames
|
||||
);
|
||||
@@ -275,7 +275,7 @@ fn save_buffer_to_file(
|
||||
.expect("Output path could not be created");
|
||||
|
||||
let path = format!(
|
||||
"{}img_{:0.5}.png",
|
||||
"{}img_{:0>4}.png",
|
||||
screen_capture.to_directory, screen_capture.frames
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user