diff options
Diffstat (limited to 'source/blender/io/usd/intern/usd_reader_material.cc')
-rw-r--r-- | source/blender/io/usd/intern/usd_reader_material.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/io/usd/intern/usd_reader_material.cc b/source/blender/io/usd/intern/usd_reader_material.cc index 93e433e231c..317dfd2a62b 100644 --- a/source/blender/io/usd/intern/usd_reader_material.cc +++ b/source/blender/io/usd/intern/usd_reader_material.cc @@ -648,7 +648,7 @@ void USDMaterialReader::load_tex_image(const pxr::UsdShadeShader &usd_shader, color_space = file_input.GetAttr().GetColorSpace(); } - if (color_space == usdtokens::RAW || color_space == usdtokens::raw) { + if (ELEM(color_space, usdtokens::RAW, usdtokens::raw)) { STRNCPY(image->colorspace_settings.name, "Raw"); } } |