diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-12-03 16:28:07 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-12-03 16:28:07 +0400 |
commit | d201939c63fdf9ede3dc84f35b02deb11c251b24 (patch) | |
tree | becb06f8a7f77ea3f642aadadc719bb779584612 /io_scene_obj | |
parent | 671f515d37c9e6b7d2591b1282cf2bf6d4bf9c5b (diff) |
fix regression in OBJ export
Diffstat (limited to 'io_scene_obj')
-rw-r--r-- | io_scene_obj/export_obj.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/io_scene_obj/export_obj.py b/io_scene_obj/export_obj.py index 55d34069..1bb41ebf 100644 --- a/io_scene_obj/export_obj.py +++ b/io_scene_obj/export_obj.py @@ -139,9 +139,9 @@ def write_mtl(scene, filepath, path_mode, copy_set, mtl_dict): image_map["map_d"] = image if mtex.use_map_translucency: image_map["map_Tr"] = image - if mtex.use_map_normal and (texture.use_normal_map is True): + if mtex.use_map_normal and (mtex.texture.use_normal_map is True): image_map["map_Bump"] = image - if mtex.use_map_normal and (texture.use_normal_map is False): + if mtex.use_map_normal and (mtex.texture.use_normal_map is False): image_map["map_Disp"] = image if mtex.use_map_color_diffuse and (mtex.texture_coords == 'REFLECTION'): image_map["map_refl"] = image |