Blender Git Commit Log

Git Commits -> Revision c960416

Revision c960416 by Arystanbek Dyussenov (master)
July 23, 2009, 12:55 (GMT)
API:
- replaced BKE_copy_images with BKE_export_image, now it handles only one image at a time, this is better since for exporters it is
easier to export one image at a time writing new image path to a file
- exposing BKE_export_image in RNA as Image.export, interestingly, RNA allowed me to define a function with PROP_STRING return type
although it doesn't free memory, will fix that in the next commit
- removed bpy.util.copy_images

Unit tests:
- re-wrote a test for BKE_export_image, it's more compact now
- moved unit tests to the creator module to avoid another executable, now running tests with `blender --test`
- as before, unit tests are built only if WITH_BF_UNIT_TEST is non 0

Commit Details:

Full Hash: c96041628e141b7bfc1da28be09510e7e0e5cd0a
SVN Revision: 21813
Parent Commit: 00e219d
Lines Changed: +222, -224

1 Added Path:

/source/creator/tests/alltest.c (+114, -0) (View)

12 Modified Paths:

/release/io/export_fbx.py (+23, -12) (Diff)
/SConstruct (+0, -8) (Diff)
/source/blender/blenkernel/BKE_image.h (+2, -3) (Diff)
/source/blender/blenkernel/intern/image.c (+58, -72) (Diff)
/source/blender/makesrna/intern/makesrna.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_image.c (+2, -0) (Diff)
/source/blender/python/intern/bpy_interface.c (+1, -1) (Diff)
/source/blender/python/intern/bpy_util.c (+0, -123) (Diff)
/source/creator/creator.c (+6, -0) (Diff)
/source/creator/SConscript (+9, -2) (Diff)
/tools/Blender.py (+2, -0) (Diff)
/tools/btools.py (+4, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021