From add213786e301ef1139b7bfd189b7a14a8945d9d Mon Sep 17 00:00:00 2001
From: Campbell Barton <ideasman42@gmail.com>
Date: Wed, 12 Dec 2012 10:28:12 +0000
Subject: [PATCH] revert r4031, the user was incorrect about the bug.

---
 io_scene_obj/export_obj.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/io_scene_obj/export_obj.py b/io_scene_obj/export_obj.py
index 75443c3df..a0926cc47 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:
-- 
GitLab