Blender Git Loki

Git Commits -> Revision 0362d19

Revision 0362d19 by Campbell Barton (master)
February 1, 2011, 04:24 (GMT)
Pythons path functions - os.walk(). os.path.exists(). etc support bytes for paths as well as strings, support this with blender/rna too.

- bpy.data.*.load() functions were only accepting UTF-8 paths.
- rna functions/properties now accept byte values rather then strings for file paths.
- bpy.path.resolve_ncase now supports byte objects.

Commit Details:

Full Hash: 0362d19f2d2b48b2b502bc1a136a9647ca86cb43
SVN Revision: 34596
Parent Commit: b17bbf9
Lines Changed: +11, -8

5 Modified Paths:

/release/scripts/modules/bpy/path.py (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_image_api.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_main_api.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_scene_api.c (+1, -2) (Diff)
/source/blender/python/generic/py_capi_utils.c (+4, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021