diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-07-25 05:39:18 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-07-25 05:39:18 +0400 |
commit | c8c166df88185920d098144dd4d8c894d2288a4c (patch) | |
tree | 751b4a613de0a905864f0772682a2fa46ab433df /io_scene_3ds/export_3ds.py | |
parent | 273df5e7bf5bb2845332a79ebc52a0820a4b1fd1 (diff) |
fix for missing import
Diffstat (limited to 'io_scene_3ds/export_3ds.py')
-rw-r--r-- | io_scene_3ds/export_3ds.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/io_scene_3ds/export_3ds.py b/io_scene_3ds/export_3ds.py index d25672ef..6c59aabc 100644 --- a/io_scene_3ds/export_3ds.py +++ b/io_scene_3ds/export_3ds.py @@ -448,6 +448,7 @@ def make_material_texture_chunk(id, images): def add_image(img): import os + import bpy filename = bpy.path.basename(image.filepath) mat_sub_file = _3ds_chunk(MATMAPFILE) mat_sub_file.add_variable("mapfile", _3ds_string(sane_name(filename))) |