diff options
Diffstat (limited to 'source/blender/collada/ImageExporter.cpp')
-rw-r--r-- | source/blender/collada/ImageExporter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/collada/ImageExporter.cpp b/source/blender/collada/ImageExporter.cpp index b606799efde..71201c8a55c 100644 --- a/source/blender/collada/ImageExporter.cpp +++ b/source/blender/collada/ImageExporter.cpp @@ -43,7 +43,7 @@ extern "C" { #include "MaterialExporter.h" ImagesExporter::ImagesExporter(COLLADASW::StreamWriter *sw, - const ExportSettings *export_settings, + BCExportSettings &export_settings, KeyImageMap &key_image_map) : COLLADASW::LibraryImages(sw), export_settings(export_settings), key_image_map(key_image_map) { @@ -76,7 +76,7 @@ void ImagesExporter::export_UV_Image(Image *image, bool use_copies) char export_file[FILE_MAX]; /* Destination folder for exported assets */ - BLI_split_dir_part(this->export_settings->filepath, export_dir, sizeof(export_dir)); + BLI_split_dir_part(this->export_settings.get_filepath(), export_dir, sizeof(export_dir)); if (is_generated || is_dirty || use_copies || is_packed) { @@ -152,7 +152,7 @@ void ImagesExporter::export_UV_Image(Image *image, bool use_copies) void ImagesExporter::exportImages(Scene *sce) { - bool use_texture_copies = this->export_settings->use_texture_copies; + bool use_texture_copies = this->export_settings.get_use_texture_copies(); openLibrary(); KeyImageMap::iterator iter; |