diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-02-07 15:51:47 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-02-07 15:51:47 +0300 |
commit | bb571c67cb2ead3d354e445a3c44604925422ffc (patch) | |
tree | 6b08ae7fab1dbe2cbdc82a9f1ae7cc889b03d0c8 /release/scripts/io/export_3ds.py | |
parent | 3238730e3678394ed6ecd3d2ce634f9502400d6e (diff) |
mat/lamp/world.textures -> texture_slots
object.materials -> material_slots
since neither contain textures or materials directly.
Diffstat (limited to 'release/scripts/io/export_3ds.py')
-rw-r--r-- | release/scripts/io/export_3ds.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/io/export_3ds.py b/release/scripts/io/export_3ds.py index ff93670076d..409976d4c7c 100644 --- a/release/scripts/io/export_3ds.py +++ b/release/scripts/io/export_3ds.py @@ -460,7 +460,7 @@ class _3ds_chunk(object): def get_material_images(material): # blender utility func. if material: - return [s.texture.image for s in material.textures if s and s.texture.type == 'IMAGE' and s.texture.image] + return [s.texture.image for s in material.texture_slots if s and s.texture.type == 'IMAGE' and s.texture.image] return [] # images = [] |