diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-05-30 23:21:28 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-05-30 23:21:28 +0400 |
commit | 177cffc1710f8e5d4660ee29271a89865d56cfbe (patch) | |
tree | 0826ef5c238926c228ccc0d08f0b416c4829545b /source/blender/imbuf/intern/thumbs.c | |
parent | 8ad29c02e097038cca352e9a430da293e20da6fd (diff) |
blend file thumbnails
- fix for blend file thumbnails not being immediately visible in an external file manager (was writing the thumb before the blend)
- move overlay function from wm_files.c into thumbs_blend.c
Diffstat (limited to 'source/blender/imbuf/intern/thumbs.c')
-rw-r--r-- | source/blender/imbuf/intern/thumbs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/thumbs.c b/source/blender/imbuf/intern/thumbs.c index 8c75f5ab1ab..1cdeb602f0f 100644 --- a/source/blender/imbuf/intern/thumbs.c +++ b/source/blender/imbuf/intern/thumbs.c @@ -348,6 +348,8 @@ ImBuf* IMB_thumb_create(const char* path, ThumbSize size, ThumbSource source, Im #ifndef WIN32 chmod(temp, S_IRUSR | S_IWUSR); #endif + printf("Saving: %s\n", tpath); + BLI_rename(temp, tpath); } |