mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-28 09:26:52 +00:00
Add an option to choose the default save folder for captures. Refs #335
This commit is contained in:
@@ -702,7 +702,7 @@ namespace renderdocui.Code
|
||||
|
||||
public String TempLogFilename(String appname)
|
||||
{
|
||||
string folder = Config.CaptureSavePath;
|
||||
string folder = Config.TemporaryCaptureDirectory;
|
||||
try
|
||||
{
|
||||
if (folder.Length == 0 || !Directory.Exists(folder))
|
||||
|
||||
@@ -114,7 +114,10 @@ namespace renderdocui.Code
|
||||
public List<string> RecentCaptureSettings = new List<string>();
|
||||
public int CallstackLevelSkip = 0;
|
||||
|
||||
public string CaptureSavePath = "";
|
||||
// for historical reasons, this was named CaptureSavePath
|
||||
[XmlElement("CaptureSavePath")]
|
||||
public string TemporaryCaptureDirectory = "";
|
||||
public string DefaultCaptureSaveDirectory = "";
|
||||
|
||||
public bool TextureViewer_ResetRange = false;
|
||||
public bool TextureViewer_PerTexSettings = true;
|
||||
|
||||
Reference in New Issue
Block a user