diff options
Diffstat (limited to 'release/io/export_fbx.py')
-rw-r--r-- | release/io/export_fbx.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/io/export_fbx.py b/release/io/export_fbx.py index 3515170528f..aa65473b8d6 100644 --- a/release/io/export_fbx.py +++ b/release/io/export_fbx.py @@ -94,6 +94,7 @@ def copy_file(source, dest): file.close() +# XXX not used anymore, images are copied one at a time def copy_images(dest_dir, textures): if not dest_dir.endswith(os.sep): dest_dir += os.sep @@ -1285,10 +1286,9 @@ def write(filename, batch_objects = None, \ base = os.path.basename(rel) if EXP_IMAGE_COPY: - src = bpy.sys.expandpath(image.filename) absp = image.get_export_path(basepath, False) if not os.path.exists(absp): - shutil.copy(src, absp) + shutil.copy(image.get_abs_filename(), absp) return (rel, base) |