Skip to content

Commit

Permalink
move exr const to better place
Browse files Browse the repository at this point in the history
  • Loading branch information
hybridherbst committed Nov 8, 2023
1 parent ccaa589 commit ae7fdda
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Runtime/Scripts/SceneExporter/ExporterTextures.cs
Expand Up @@ -489,6 +489,7 @@ private ImageId ExportImageInternalBuffer(UniqueTexture uniqueTexture, string te

const string PNGMimeType = "image/png";
const string JPEGMimeType = "image/jpeg";
const string EXRMimeType = "image/exr";

if (texture == null)
{
Expand Down Expand Up @@ -554,7 +555,7 @@ private ImageId ExportImageInternalBuffer(UniqueTexture uniqueTexture, string te

if (exrImageData != null)
{
image.MimeType = "image/exr";
image.MimeType = EXRMimeType;
_bufferWriter.Write(exrImageData);
wasAbleToExport = true;
}
Expand Down

0 comments on commit ae7fdda

Please sign in to comment.