**System Information**
Manjaro Linux
**Blender Version**
Broken: 2.7.7 7f03e7c
Worked: latest 2.7.6
It works correct if object material has 1 diffuse texture with Influence.diffuse.color
If texture has another influence, for example Influence.geometry.normal, i am getting this error log:
location: <unknown location>:-1
NameError: name 'Vector' is not defined
if mtex.offset != Vector((0.0, 0.0, 0.0)):
File "/usr/share/blender/2.77/scripts/addons/io_scene_obj/export_obj.py", line 187, in write_mtl
write_mtl(scene, mtlfilepath, EXPORT_PATH_MODE, copy_set, mtl_dict)
File "/usr/share/blender/2.77/scripts/addons/io_scene_obj/export_obj.py", line 700, in write_file
progress,
File "/usr/share/blender/2.77/scripts/addons/io_scene_obj/export_obj.py", line 779, in _write
EXPORT_PATH_MODE=path_mode,
File "/usr/share/blender/2.77/scripts/addons/io_scene_obj/export_obj.py", line 833, in save
return export_obj.save(self, context, **keywords)
File "/usr/share/blender/2.77/scripts/addons/io_scene_obj/__init__.py", line 306, in execute
Traceback (most recent call last):
Here is an archive with 2 *.blend files and 3 textures for testing:
1. cube_diffuse.blend has an object with material with 1 texture:
Influence.diffuse.color
If you change an influence to (for example geometry.normal or specular.color, etc) you'll get an error above
2. cube_full.blend has an object with material with 3 textures:
Influence.diffuse.color
Influence.geometry.normal
Influence.specular.color
File:
{F297756}