Extend list of supported formats due to enable OIIO for USD. #8

Merged
Bogdan Nagirniak merged 1 commits from add_supported_extentions into materialx-addon 2023-04-28 17:50:44 +02:00
Showing only changes of commit 73265d6f4f - Show all commits

View File

@ -338,7 +338,8 @@ def get_temp_file(suffix, name=None, is_rand=False):
return temp_dir() / name return temp_dir() / name
SUPPORTED_FORMATS = {".png", ".jpeg", ".jpg", ".hdr", ".tga", ".bmp"} SUPPORTED_FORMATS = {".png", ".jpeg", ".jpg", ".hdr", ".tga", ".bmp",
".exr", ".open_exr", ".tif", ".tiff", ".zfile", ".tx"}
DEFAULT_FORMAT = ".hdr" DEFAULT_FORMAT = ".hdr"
BLENDER_DEFAULT_FORMAT = "HDR" BLENDER_DEFAULT_FORMAT = "HDR"
BLENDER_DEFAULT_COLOR_MODE = "RGB" BLENDER_DEFAULT_COLOR_MODE = "RGB"