diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-10-05 19:49:20 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-10-05 19:49:20 +0300 |
commit | 1cdf82d7f8dd117441405b99f744e2f7095e5c7c (patch) | |
tree | 520f3a938ae8aeafc37be7a0ce13527759a6a858 /source/blender/blenkernel | |
parent | e5552f82415708778fefd11c0c57cd52213e823e (diff) |
Image Py API: Expose 'load_exists' to RNA image load(), and extend load_image() helper.
Expose our `BKE_image_load_exists` feature through an optional parameter to `Image.load()`.
Extend `image_utils.load_image()` with two optional parameters, to return existing image datablock
if possible, and in that case, to force reloading said image.
Needed by incomming 'import images as planes' addon enhancement.
Diffstat (limited to 'source/blender/blenkernel')
0 files changed, 0 insertions, 0 deletions