diff --git a/.gitignore b/.gitignore index 23f3fd7..36ec8b5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ /resources_compiled /_bin /assetc-ubuntu-x64-2.3.0 -screenshots/.png diff --git a/scene_capture_texture.lua b/scene_capture_texture.lua index 208c912..c7c8ec7 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 = "screenshots/" .. ".png" + png_filename = "screen_capture_texture_lua" .. ".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 f87bb09..efab5cb 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 = "screenshots/" + ".png" + png_filename = "screen_capture_texture_python" + ".png" hg.SavePNG(picture, png_filename) state = "none" #Reset state to none to be able to screenshot again