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-12 14:28:12 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-12-12 14:28:12 +0400
commitadd213786e301ef1139b7bfd189b7a14a8945d9d (patch)
treed5873b4ab6915fb626b14dbe86bbdb34d21a5141 /io_scene_obj/export_obj.py
parent4a25a2ba057fd40ddeb766f776d509bbe72cbdee (diff)
revert r4031, the user was incorrect about the bug.
Diffstat (limited to 'io_scene_obj/export_obj.py')
-rw-r--r--io_scene_obj/export_obj.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_obj/export_obj.py b/io_scene_obj/export_obj.py
index 75443c3d..a0926cc4 100644
--- a/io_scene_obj/export_obj.py
+++ b/io_scene_obj/export_obj.py
@@ -79,7 +79,7 @@ def write_mtl(scene, filepath, path_mode, copy_set, mtl_dict):
fw('Ni %.6f\n' % mat.ior) # Refraction index
else:
fw('Ni %.6f\n' % 1.0)
- fw('d %.6f\n' % (1.0 - mat.alpha)) # Alpha (obj uses 'd' for dissolve)
+ fw('d %.6f\n' % mat.alpha) # Alpha (obj uses 'd' for dissolve)
# 0 to disable lighting, 1 for ambient & diffuse only (specular color set to black), 2 for full lighting.
if mat.use_shadeless: