When saving a scene with textures the change of the fileTextureName attribute causes color space to change to the default value which is sRGB. With this fix, a correct color space is preserved.
Maya version: 2020
How to replicate the bug:
Launch DazToMaya window
Click Auto-Import
Click Convert Materials (Arnold is selected)
Click Save Scene with Textures...
Write file name and save
In hypershade (or anywhere else) look at any texture that should have raw color space
What we can see: All textures have sRGB color space (depends on Maya settings, but sRGB is the default).
Expected: sRGB or RAW depending on the texture.
What is fixed in this pull request: Textures preserve their original color space and we can see in the texture node that it has the correct color space.
When saving a scene with textures the change of the fileTextureName attribute causes color space to change to the default value which is sRGB. With this fix, a correct color space is preserved.
Maya version: 2020 How to replicate the bug:
What we can see: All textures have sRGB color space (depends on Maya settings, but sRGB is the default). Expected: sRGB or RAW depending on the texture.
What is fixed in this pull request: Textures preserve their original color space and we can see in the texture node that it has the correct color space.