'Copy Images' option for the .obj exporter would fail.

Changing Material ==> Blender.Material fixed it.
This commit is contained in:
Chris Want 2007-05-16 22:30:20 +00:00
parent fc0ee80fc1
commit c80b2ef9b1

@ -164,7 +164,7 @@ def copy_images(dest_dir):
# Get MTex images
if matname != None:
mat= Material.Get(matname)
mat= Blender.Material.Get(matname)
for mtex in mat.getTextures():
if mtex and mtex.tex.type == Blender.Texture.Types.IMAGE:
try: