py api additions needed for fixing [#34864].
authorCampbell Barton <ideasman42@gmail.com>
Fri, 5 Apr 2013 00:30:32 +0000 (00:30 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 5 Apr 2013 00:30:32 +0000 (00:30 +0000)
commit98752a1f3025a138b5a2f70f60a2cca1e89d2f66
tree9d6adf01f7fa74d7e995675ff466532167d8ba49
parentdee2f0c9ac8312ff71241d86591adb8f9b06c53a
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.
release/scripts/modules/bpy/path.py
release/scripts/modules/bpy_extras/image_utils.py
source/blender/python/intern/bpy_rna.c