Blender Git Loki

Git Commits -> Revision 98752a1

Revision 98752a1 by Campbell Barton (master)
April 5, 2013, 00:30 (GMT)
py api additions needed for fixing [#34864].
- add rna property 'as_bytes' method so you can get a string property as python bytes (bypass encoding).
- make bpy.path.abspath/relpath compatible with bytes.
- add 'relpath' option to bpy_extras.image_utils.load_image(), so you can load an image relative to a path.

Commit Details:

Full Hash: 98752a1f3025a138b5a2f70f60a2cca1e89d2f66
SVN Revision: 55795
Parent Commit: dee2f0c
Lines Changed: +74, -11

3 Modified Paths:

/release/scripts/modules/bpy/path.py (+30, -11) (Diff)
/release/scripts/modules/bpy_extras/image_utils.py (+9, -0) (Diff)
/source/blender/python/intern/bpy_rna.c (+35, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021