diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-01-06 20:20:10 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-01-06 20:21:25 +0300 |
commit | 6f43027fdde5724980fc26dd4f740aa78205b6e7 (patch) | |
tree | adb9745d3310e13bacef15f4615c24c2cff1c6db /io_scene_obj/export_obj.py | |
parent | 2f77b4a7202fb5ae5be4fd71e73fba1e145244b7 (diff) |
Fix T60238: Error in OBJ exporter if material has a normal map.
Typo, thanks to Aleksi Juvani (@aleksijuvani) for finding it.
Diffstat (limited to 'io_scene_obj/export_obj.py')
-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 0e905141..064484ff 100644 --- a/io_scene_obj/export_obj.py +++ b/io_scene_obj/export_obj.py @@ -138,8 +138,8 @@ def write_mtl(scene, filepath, path_mode, copy_set, mtl_dict): path_mode, "", copy_set, image.library) options = [] if key == "map_Bump": - if mat_wrap.normalmap_strengh != 1.0: - options.append('-bm %.6f' % mat_wrap.normalmap_strengh) + if mat_wrap.normalmap_strength != 1.0: + options.append('-bm %.6f' % mat_wrap.normalmap_strength) if tex_wrap.translation != Vector((0.0, 0.0, 0.0)): options.append('-o %.6f %.6f %.6f' % tex_wrap.translation[:]) if tex_wrap.scale != Vector((1.0, 1.0, 1.0)): |