Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-10-18 13:52:49 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-10-18 13:52:49 +0400
commit97dd992b5adee8569c969504034a8e41297bef45 (patch)
tree7c06c0180950a23bdff5307f66da73e0e9e39cc2 /io_scene_obj
parentf915b3487de14e6c34a3fafc417d5c07c1a9f363 (diff)
3ds max writes 'map_refl' in materials. add support for reading this.
Diffstat (limited to 'io_scene_obj')
-rw-r--r--io_scene_obj/import_obj.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_obj/import_obj.py b/io_scene_obj/import_obj.py
index a03fea28..adadf614 100644
--- a/io_scene_obj/import_obj.py
+++ b/io_scene_obj/import_obj.py
@@ -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')