diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-10-04 00:03:53 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-10-04 00:03:53 +0300 |
commit | fbc096cf075b65981bfb766353b002686a847503 (patch) | |
tree | f7aa1eb152c73be87c5f219263f450df6a03ee36 /source/blender/collada | |
parent | 8096190d11d6caf5facfc266791a08985179688a (diff) |
Fix expanding paths ignoring data-block libraries
- Image views.
- Sequencer text strip font.
- Text check for modified/reload.
- Collada image export.
- Brush icons.
Diffstat (limited to 'source/blender/collada')
-rw-r--r-- | source/blender/collada/ImageExporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/collada/ImageExporter.cpp b/source/blender/collada/ImageExporter.cpp index 71201c8a55c..6e31e17fb26 100644 --- a/source/blender/collada/ImageExporter.cpp +++ b/source/blender/collada/ImageExporter.cpp @@ -107,7 +107,7 @@ void ImagesExporter::export_UV_Image(Image *image, bool use_copies) /* make absolute source path */ BLI_strncpy(source_path, image->name, sizeof(source_path)); - BLI_path_abs(source_path, BKE_main_blendfile_path_from_global()); + BLI_path_abs(source_path, ID_BLEND_PATH_FROM_GLOBAL(&image->id)); BLI_cleanup_path(NULL, source_path); if (use_copies) { |