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