Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-10-11 08:44:52 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-10-11 08:44:52 +0400
commit1a21899facaac90ee7b296ce84ed859198b5ad3b (patch)
treeba4f22df0f5efd2de7f2d938e35159a40b923e0e /io_scene_x3d
parentad8251bfdda50def103063b9fa8fc8c89aa0ccb9 (diff)
use library argument for bpy_extras.io_utils.path_reference(...)
Diffstat (limited to 'io_scene_x3d')
-rw-r--r--io_scene_x3d/export_x3d.py4
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 = [