mirror of
https://github.com/4sval/FModel.git
synced 2026-09-21 07:54:39 -05:00
make HDR export optional
This commit is contained in:
@@ -105,7 +105,7 @@ public class TabImage : ViewModel
|
||||
|
||||
if (PixelFormatUtils.IsHDR(bitmap.PixelFormat) || (UserSettings.Default.TextureExportFormat != ETextureFormat.Jpeg && UserSettings.Default.TextureExportFormat != ETextureFormat.Png))
|
||||
{
|
||||
ImageBuffer = bitmap.Encode(UserSettings.Default.TextureExportFormat, out var ext);
|
||||
ImageBuffer = bitmap.Encode(UserSettings.Default.TextureExportFormat, UserSettings.Default.SaveHdrTexturesAsHdr, out var ext);
|
||||
ExportName += "." + ext;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user