diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-08-18 15:32:13 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-08-18 15:32:13 +0300 |
commit | a67a51ed55da8728ba2cc05f7b9bc026183080cb (patch) | |
tree | 59d66b967edb345abeb0831b383502c18cf491b8 /source/blender/imbuf/IMB_thumbs.h | |
parent | 2735f6fda66076c34f853afaccfc4dd78f66ca1f (diff) |
IMB_thumb: Allow blen-handling func to also load datablock previews from .blend file.
Notes:
* Not yet used, this is the last piece of 'side changes' before the big filebrowser commit.
* We can probably be more effective here (like e.g. reading and storing all previews for a given
group in thumbnails cache at once, instead of re-opening and parsing the whole file each time),
but will do this later.
Diffstat (limited to 'source/blender/imbuf/IMB_thumbs.h')
-rw-r--r-- | source/blender/imbuf/IMB_thumbs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/IMB_thumbs.h b/source/blender/imbuf/IMB_thumbs.h index 13237fe26a1..aaa5eea04ad 100644 --- a/source/blender/imbuf/IMB_thumbs.h +++ b/source/blender/imbuf/IMB_thumbs.h @@ -84,7 +84,7 @@ ImBuf *IMB_thumb_manage(const char *path, ThumbSize size, ThumbSource source); void IMB_thumb_makedirs(void); /* special function for loading a thumbnail embedded into a blend file */ -ImBuf *IMB_thumb_load_blend(const char *path); +ImBuf *IMB_thumb_load_blend(const char *blen_path, const char *blen_group, const char *blen_id); void IMB_thumb_overlay_blend(unsigned int *thumb, int width, int height, float aspect); /* special function for previewing fonts */ |