Gaukler / Blender-ALAMO-Plugin

Blender plugin enabling import/export of ALAMO files, used in Empire at War : Forces of Corruption
MIT License
15 stars 17 forks source link

Import ALO: SpecularTexture not recognized #1

Open yyhrs opened 3 years ago

yyhrs commented 3 years ago

On one particular alo file, when trying to import it, this error shows image

I don't now if this is something wanted, as a quick fix we bypassed with a raw:

if texture_function_name != "SpecularTexture":
    exec('material.' + texture_function_name + '= texture_name')

https://github.com/Gaukler/Blender-ALAMO-Plugin/blob/04932aaa40dadbfc37922c42abb5ba7fe690803b/io_alamo_tools/import_alo.py#L559

Gaukler commented 3 years ago

Can you send me the file in question for testing?