diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-10-11 08:44:52 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-10-11 08:44:52 +0400 |
commit | 1a21899facaac90ee7b296ce84ed859198b5ad3b (patch) | |
tree | ba4f22df0f5efd2de7f2d938e35159a40b923e0e /io_scene_x3d/export_x3d.py | |
parent | ad8251bfdda50def103063b9fa8fc8c89aa0ccb9 (diff) |
use library argument for bpy_extras.io_utils.path_reference(...)
Diffstat (limited to 'io_scene_x3d/export_x3d.py')
-rw-r--r-- | io_scene_x3d/export_x3d.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/io_scene_x3d/export_x3d.py b/io_scene_x3d/export_x3d.py index c57e459c..7f5972c0 100644 --- a/io_scene_x3d/export_x3d.py +++ b/io_scene_x3d/export_x3d.py @@ -1238,8 +1238,8 @@ def export(file, # collect image paths, can load multiple # [relative, name-only, absolute] filepath = image.filepath - filepath_full = bpy.path.abspath(filepath) - filepath_ref = bpy_extras.io_utils.path_reference(filepath_full, base_src, base_dst, path_mode, "textures", copy_set) + filepath_full = bpy.path.abspath(filepath, library=image.library) + filepath_ref = bpy_extras.io_utils.path_reference(filepath_full, base_src, base_dst, path_mode, "textures", copy_set, image.library) filepath_base = os.path.basename(filepath_full) images = [ |