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-12-03 16:28:07 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-12-03 16:28:07 +0400
commitd201939c63fdf9ede3dc84f35b02deb11c251b24 (patch)
treebecb06f8a7f77ea3f642aadadc719bb779584612 /io_scene_obj/export_obj.py
parent671f515d37c9e6b7d2591b1282cf2bf6d4bf9c5b (diff)
fix regression in OBJ export
Diffstat (limited to 'io_scene_obj/export_obj.py')
-rw-r--r--io_scene_obj/export_obj.py4
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