Fix #139656: FBX importer does not set normalmap textures as "non-color"

Normal maps (and generally all other non-color textures) were not
marked as non-color in the new FBX importer.

Pull Request: https://projects.blender.org/blender/blender/pulls/139725
This commit is contained in:
Aras Pranckevicius
2025-06-02 15:15:05 +02:00
committed by Aras Pranckevicius
parent 6fb69eeb71
commit ba0b1acb4e
21 changed files with 60 additions and 48 deletions

View File

@@ -380,6 +380,8 @@ class Report:
desc = f" tex:'{tex.image.name}' ({rel_path}) a:{tex.use_alpha}"
if str(tex.colorspace_is_data) == "True": # unset value is "Ellipsis"
desc += f" data"
if str(tex.colorspace_name) != "Ellipsis":
desc += f" {tex.colorspace_name}"
if tex.texcoords != 'UV':
desc += f" uv:{tex.texcoords}"
if tex.extension != 'REPEAT':