Files
UnrealEngineUWP/Engine/Source/Runtime/AutomationWorker
Richard TalbotWatkin 36e63cd46d Various fixes for in-game / in-editor screenshot.
#jira UE-14213 - Using the command "highresshot" will corrupt future screenshots until game is relaunched

Summary of changes:
- Editor now no longer relies on the delegate registered by the AutomationWorkerModule to save the image as a .png.
- Removed the OnPNGScreenshotCaptured delegate as it was only being used by the AutomationWorkerModule, and made .png the default format for saving screenshots.
- AutomationWorkerModule registers a HandlePreTestingEvent and HandlePostTestingEvent with the AutomationTestFramework, whose purpose is to hook in to the UGameViewportClient::OnScreenshotCaptured delegate, to override the default screenshot capture behaviour.
- Removed one of the FScreenshotRequest::RequestScreenshot implementations and united the funcionality to be able to specify whether the UI should be captured, and whether a unique filename suffix should be added to the supplied name.

[CL 2528072 by Richard TalbotWatkin in Main branch]
2015-04-28 02:55:47 -04:00
..