Fix T60238: Error in OBJ exporter if material has a normal map.
Typo, thanks to Aleksi Juvani (@aleksijuvani) for finding it.
This commit is contained in:
parent
2f77b4a720
commit
6f43027fdd
Notes:
blender-bot
2023-02-14 19:22:09 +01:00
Referenced by issue #60238, Error in OBJ exporter if material has a normal map
|
@ -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)):
|
||||
|
|
Loading…
Reference in New Issue