'Copy Images' option for the .obj exporter would fail.
Changing Material ==> Blender.Material fixed it.
This commit is contained in:
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:
|
||||
|
Loading…
Reference in New Issue
Block a user