diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-06-23 07:58:38 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-06-23 07:58:38 +0300 |
commit | 374e412813ca1752fc5e4b5bb2915d69cf872cf4 (patch) | |
tree | 825d73b511923641ea6537b0c49e39c269225f62 /source/blender/io/collada/ImageExporter.cpp | |
parent | 3f6f89a06baeb12b64467c8e89d25295a62ed6b2 (diff) |
Correct recent 'name' -> 'filepath' rename (missed Collada)
Diffstat (limited to 'source/blender/io/collada/ImageExporter.cpp')
-rw-r--r-- | source/blender/io/collada/ImageExporter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/io/collada/ImageExporter.cpp b/source/blender/io/collada/ImageExporter.cpp index 1c897e37a4a..51d753db03f 100644 --- a/source/blender/io/collada/ImageExporter.cpp +++ b/source/blender/io/collada/ImageExporter.cpp @@ -55,7 +55,7 @@ void ImagesExporter::export_UV_Image(Image *image, bool use_copies) ImBuf *imbuf = BKE_image_acquire_ibuf(image, NULL, NULL); if (!imbuf) { - fprintf(stderr, "Collada export: image does not exist:\n%s\n", image->name); + fprintf(stderr, "Collada export: image does not exist:\n%s\n", image->filepath); return; } @@ -104,7 +104,7 @@ void ImagesExporter::export_UV_Image(Image *image, bool use_copies) else { /* make absolute source path */ - BLI_strncpy(source_path, image->name, sizeof(source_path)); + BLI_strncpy(source_path, image->filepath, sizeof(source_path)); BLI_path_abs(source_path, ID_BLEND_PATH_FROM_GLOBAL(&image->id)); BLI_path_normalize(NULL, source_path); |