remove rna functions image.get_export_path() and image.get_abs_filename(), filename functions should not be spesific to images.

rename BKE_get_image_export_path() to BKE_rebase_path() and take a filename arg rather then an image.

obj export file copy was also not working because of a missing import.
This commit is contained in:
2010-02-26 11:50:59 +00:00
parent 3ea627245b
commit 878d8b44ee
9 changed files with 122 additions and 163 deletions

View File

@@ -794,7 +794,7 @@ class x3d_class:
pic = tex.image
# using .expandpath just in case, os.path may not expect //
basename = os.path.basename(pic.get_abs_filename())
basename = os.path.basename(bpy.utils.expandpath(pic.filename))
pic = alltextures[i].image
# pic = alltextures[i].getImage()