- re-wrote image exporting function renaming it from BKE_export_image to BKE_get_imag...
authorArystanbek Dyussenov <arystan.d@gmail.com>
Mon, 3 Aug 2009 12:02:40 +0000 (12:02 +0000)
committerArystanbek Dyussenov <arystan.d@gmail.com>
Mon, 3 Aug 2009 12:02:40 +0000 (12:02 +0000)
commit4086ca58e275816a49950f6ac0cbffa6cb36a8ad
tree2fec7b9f9aba7fac9ab95e43de28c48c812e2ace
parentd1e42cc5f85a6665e85a388763696fd291b86db8
- re-wrote image exporting function renaming it from BKE_export_image to BKE_get_image_export_path because now it doesn't copy
files but only manipulates paths. It produces both ablsolute and relative paths. COLLADA exporter can now use it.
- re-wrote unit test for it, this is now more compact and readable
- RNA API Image.get_export_path takes a boolean arg to indicate whether a relative or absolute path should be returned. Python scripts
can now use it.
source/blender/blenkernel/BKE_image.h
source/blender/blenkernel/intern/image.c
source/blender/makesrna/intern/rna_image_api.c
source/creator/tests/alltest.c