Merge branch 'exr-fallback-mime' into 'master'
Add mime type fallback for exr See merge request sheepitrenderfarm/client!152
This commit is contained in:
@@ -234,6 +234,10 @@ public class Utils {
|
||||
mimeType = "image/tga";
|
||||
}
|
||||
|
||||
if (mimeType == null && file.endsWith(".exr")) { // fallback for EXR
|
||||
mimeType = "image/x-exr";
|
||||
}
|
||||
|
||||
return mimeType;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user