Compilation fix for collada

This commit is contained in:
Sergey Sharybin 2012-12-23 14:34:10 +00:00
parent 4ee0087e35
commit 3217ecbc8e
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ void ImagesExporter::export_UV_Image(Image *image, bool use_copies)
// make absolute destination path
BLI_strncpy(export_file, name.c_str(), sizeof(export_file));
BKE_add_image_extension(export_file, imageFormat.imtype);
BKE_add_image_extension(export_file, &imageFormat);
BLI_join_dirfile(export_path, sizeof(export_path), export_dir, export_file);