diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-09-21 12:53:49 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-09-21 12:53:49 +0400 |
commit | e7917861175a3aed08ed00cd490df81f9a6fe56d (patch) | |
tree | 8074ce27e2b9a6d7684f73dfe250334671a41c02 /io_scene_3ds | |
parent | 766d02e54568ac663f5fc6dff0d3ec9cf388f461 (diff) |
fix for image export on 3ds files, dont overwrite builtin 'map' for stl io
Diffstat (limited to 'io_scene_3ds')
-rw-r--r-- | io_scene_3ds/export_3ds.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_3ds/export_3ds.py b/io_scene_3ds/export_3ds.py index fc8d7117..714d419a 100644 --- a/io_scene_3ds/export_3ds.py +++ b/io_scene_3ds/export_3ds.py @@ -446,7 +446,7 @@ def make_material_texture_chunk(id, images): """ mat_sub = _3ds_chunk(id) - def add_image(img): + def add_image(image): import bpy filename = bpy.path.basename(image.filepath) mat_sub_file = _3ds_chunk(MATMAPFILE) |