Skip to content
Snippets Groups Projects
Commit 97dd992b authored by Campbell Barton's avatar Campbell Barton
Browse files

3ds max writes 'map_refl' in materials. add support for reading this.

parent f915b348
No related branches found
No related tags found
No related merge requests found
......@@ -339,7 +339,7 @@ def create_materials(filepath, material_libs, unique_materials, unique_material_
if img_filepath:
load_material_image(context_material, context_material_name, img_filepath, 'D')
elif line_lower.startswith(b'refl'): # reflectionmap
elif line_lower.startswith((b'map_refl', b'refl')): # reflectionmap
img_filepath = line_value(line.split())
if img_filepath:
load_material_image(context_material, context_material_name, img_filepath, 'refl')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment