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_fbx
parentad8251bfdda50def103063b9fa8fc8c89aa0ccb9 (diff)
use library argument for bpy_extras.io_utils.path_reference(...)
Diffstat (limited to 'io_scene_fbx')
-rw-r--r--io_scene_fbx/export_fbx.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/io_scene_fbx/export_fbx.py b/io_scene_fbx/export_fbx.py
index 6e940067..4bbc1931 100644
--- a/io_scene_fbx/export_fbx.py
+++ b/io_scene_fbx/export_fbx.py
@@ -1140,7 +1140,7 @@ def save_single(operator, scene, filepath="",
Property: "Width", "int", "",0
Property: "Height", "int", "",0''')
if tex:
- fname_rel = bpy_extras.io_utils.path_reference(tex.filepath, base_src, base_dst, path_mode, "", copy_set)
+ fname_rel = bpy_extras.io_utils.path_reference(tex.filepath, base_src, base_dst, path_mode, "", copy_set, tex.library)
fname_strip = bpy.path.basename(fname_rel)
else:
fname_strip = fname_rel = ""
@@ -1199,8 +1199,8 @@ def save_single(operator, scene, filepath="",
fw('\n\t\tMedia: "Video::%s"' % texname)
if tex:
- fname_rel = bpy_extras.io_utils.path_reference(tex.filepath, base_src, base_dst, path_mode, "", copy_set)
- fname_strip = bpy.path.basename(bpy.path.abspath(fname_rel))
+ fname_rel = bpy_extras.io_utils.path_reference(tex.filepath, base_src, base_dst, path_mode, "", copy_set, tex.library)
+ fname_strip = bpy.path.basename(fname_rel)
else:
fname_strip = fname_rel = ""