From 7ce17b661aac6c441fe3387b1c4d32bf57464160 Mon Sep 17 00:00:00 2001 From: Angaros Date: Tue, 19 Nov 2024 10:44:47 +0100 Subject: [PATCH] Capture filename updated to capture.png --- scene_capture_texture.lua | 2 +- scene_capture_texture.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scene_capture_texture.lua b/scene_capture_texture.lua index c7c8ec7..5b52b80 100644 --- a/scene_capture_texture.lua +++ b/scene_capture_texture.lua @@ -66,7 +66,7 @@ while not hg.ReadKeyboard():Key(hg.K_Escape) and hg.IsWindowOpen(win) do -- Take screenshot if CaptureTexture is ready and user pressed space elseif (state == "capture" and frame_count_capture <= frame) then - png_filename = "screen_capture_texture_lua" .. ".png" + png_filename = "capture" .. ".png" hg.SavePNG(picture, png_filename) state = "none" -- Reset state to none to be able to screenshot again end diff --git a/scene_capture_texture.py b/scene_capture_texture.py index efab5cb..0af22c8 100644 --- a/scene_capture_texture.py +++ b/scene_capture_texture.py @@ -72,7 +72,7 @@ # Take screenshot if CaptureTexture is ready and user pressed space elif(state == "capture" and frame_count_capture <= frame): - png_filename = "screen_capture_texture_python" + ".png" + png_filename = "capture" + ".png" hg.SavePNG(picture, png_filename) state = "none" #Reset state to none to be able to screenshot again