Campbell Barton
4006f8c83b
fix [ #36455 ] importing obj data after saving doesn't work
2013-08-15 00:32:12 +00:00
Campbell Barton
1c5b416cbf
image_load() utility function's 'recursive' option wasn't functional since 2.4x
2013-08-12 07:48:31 +00:00
Campbell Barton
98752a1f30
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.
2013-04-05 00:30:32 +00:00
Campbell Barton
98e6912480
style cleanup
2012-06-19 22:17:19 +00:00
Campbell Barton
a0feea1fc0
fix [ #30201 ] bpy_extras.image_utils.load_image always returns placeholder
...
in existing addons this only effects OBJ import.
interestingly even though this is a bug (in that its returning a placeholder when it should load the image), since the placeholder points to the correct path, the image will load correctly when refreshed, so the bug's not too bad.
2012-02-16 04:08:52 +00:00
Campbell Barton
87ff925d90
fix for error in bpy_extras.image_utils.load_image() when the image file exists but cant be read (wrong permissions for eg).
2011-12-10 01:01:22 +00:00
Campbell Barton
82480e9995
fix for bpy_extras.image_utils.load_image() making a placeholder image when passed a path in bytes.
...
made OBJ import fail when the image was missing.
2011-12-09 21:07:37 +00:00
Campbell Barton
fda2045150
correct spelling errors in comments
2011-10-17 06:58:07 +00:00
Campbell Barton
a9dea3afe9
correct missing bpy doc references.
2011-08-26 18:48:48 +00:00
Campbell Barton
f4293067c1
py api: sphinx doc corrections, pep8 cleanup and style edits, also added __all__ to some modules which were missing it.
2011-07-31 03:15:37 +00:00
Campbell Barton
4ad43aaf16
added bpy.path.basename because "//" prefix breaks os.path.basename.
2011-07-20 08:10:01 +00:00
Campbell Barton
301e5b4ea0
fix for various python bugs and remove unused var.
2011-07-10 17:26:15 +00:00
Campbell Barton
eaae38551f
pep8 compliance
2011-06-21 17:17:51 +00:00
Campbell Barton
f51c9fa496
fix for mistake in case insensitive image load.
2011-05-31 09:55:50 +00:00
Campbell Barton
c141ed0aa9
missed this import when moving load image function.
2011-05-30 12:19:30 +00:00
Campbell Barton
a9dd90be78
move load_image into image_utils and add some docstrings to bpy_extras module.
2011-05-28 09:34:45 +00:00
Campbell Barton
ecf2d1ff4e
- generate sphinx docs for bpy_extras module
...
- add in support to doc generator for automatically generating docs for submodules.
2011-05-28 07:47:58 +00:00
Campbell Barton
68dbfe6ac9
move generic bpy helper modules into bpy_extras.
2011-05-16 07:51:02 +00:00