diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-04-08 00:35:53 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-04-08 02:55:02 +0300 |
commit | a2ea4ce70da8562ec2671070eccf46b5bee1f66c (patch) | |
tree | c755f340f4960f9babbca6f643d47ed5948cf56b /source/blender/imbuf/intern | |
parent | a57b898d1760ade693983d1fd080399ab5e3367f (diff) |
Cleanup: IMB/thumb naming
Diffstat (limited to 'source/blender/imbuf/intern')
-rw-r--r-- | source/blender/imbuf/intern/thumbs.c | 2 | ||||
-rw-r--r-- | source/blender/imbuf/intern/thumbs_blend.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/imbuf/intern/thumbs.c b/source/blender/imbuf/intern/thumbs.c index 21f440a8232..e88cbef206a 100644 --- a/source/blender/imbuf/intern/thumbs.c +++ b/source/blender/imbuf/intern/thumbs.c @@ -335,7 +335,7 @@ ImBuf *IMB_thumb_create(const char *path, ThumbSize size, ThumbSource source, Im /* only load if we didnt give an image */ if (img == NULL) { if (THB_SOURCE_BLEND == source) { - img = IMB_loadblend_thumb(path); + img = IMB_thumb_load_blend(path); } else { img = IMB_loadiffname(path, IB_rect | IB_metadata | IB_thumbnail, NULL); diff --git a/source/blender/imbuf/intern/thumbs_blend.c b/source/blender/imbuf/intern/thumbs_blend.c index aee465c49cc..d7b9089c437 100644 --- a/source/blender/imbuf/intern/thumbs_blend.c +++ b/source/blender/imbuf/intern/thumbs_blend.c @@ -121,7 +121,7 @@ static ImBuf *loadblend_thumb(gzFile gzfile) return NULL; } -ImBuf *IMB_loadblend_thumb(const char *path) +ImBuf *IMB_thumb_load_blend(const char *path) { gzFile gzfile; /* not necessarily a gzip */ @@ -143,7 +143,7 @@ ImBuf *IMB_loadblend_thumb(const char *path) /* add a fake passepartout overlay to a byte buffer, use for blend file thumbnails */ #define MARGIN 2 -void IMB_overlayblend_thumb(unsigned int *thumb, int width, int height, float aspect) +void IMB_thumb_overlay_blend(unsigned int *thumb, int width, int height, float aspect) { unsigned char *px = (unsigned char *)thumb; int margin_l = MARGIN; |