mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 05:20:45 +00:00
Fix edge case with save options
This commit is contained in:
@@ -133,6 +133,14 @@ namespace renderdocui.Windows.Dialogs
|
||||
|
||||
sliceGroup.Visible = (tex.depth > 1 || tex.arraysize > 1 || tex.msSamp > 1);
|
||||
|
||||
if (saveData.destType != FileType.DDS)
|
||||
{
|
||||
cubeCruciform.Enabled = (tex.cubemap && tex.arraysize == 6);
|
||||
|
||||
if (!oneSlice.Checked && !cubeCruciform.Enabled)
|
||||
mapSlicesToGrid.Checked = true;
|
||||
}
|
||||
|
||||
fileFormat.SelectedIndex = (int)saveData.destType;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user