diff options
author | Andrea Weikert <elubie@gmx.net> | 2007-10-02 13:11:50 +0400 |
---|---|---|
committer | Andrea Weikert <elubie@gmx.net> | 2007-10-02 13:11:50 +0400 |
commit | 565570058f00e4457bdcda9a5d7e89294c90b17d (patch) | |
tree | 0e3b49f58378507142e4e23184050687c6e15cbb /source/blender/blenloader | |
parent | 27b239f89ccc03f3f199031ccdead07296e11998 (diff) |
== imagebrowser ==
- activated image browser for texture databrowse (texture buttons)
- activated image browser for brush texture databrowse (+small fix of callback function)
- activated image browser for image databrowse in UV/image editor
- fixed: filter didn't work with databrowse and append/link.
- filter buttons in header now don't appear when doing databrowse or append/link
- loading previews for textures added when linking/appending.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readblenentry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readblenentry.c b/source/blender/blenloader/intern/readblenentry.c index dfa06ebdeb8..ef287428a19 100644 --- a/source/blender/blenloader/intern/readblenentry.c +++ b/source/blender/blenloader/intern/readblenentry.c @@ -233,7 +233,7 @@ LinkNode *BLO_blendhandle_get_previews(BlendHandle *bh, int ofblocktype) for (bhead= blo_firstbhead(fd); bhead; bhead= blo_nextbhead(fd, bhead)) { if (bhead->code==ofblocktype) { ID *id= (ID*) (bhead+1); - if (GS(id->name) == ID_MA) { + if ( (GS(id->name) == ID_MA) || (GS(id->name) == ID_TE)) { new_prv = MEM_callocN(sizeof(PreviewImage), "newpreview"); BLI_linklist_prepend(&previews, new_prv); looking = 1; |