Commit: 05926f7253b300577f5021515ca22b9f825e9727
Author: Bastien Montagne
Date:   Mon Dec 15 12:28:17 2014 +0100
Branches: asset-experiments
https://developer.blender.org/rB05926f7253b300577f5021515ca22b9f825e9727

Do not set filetype to IMAGEFILE when we get a preview, this is absolutely 
stupid!

===================================================================

M       source/blender/editors/space_file/filelist.c

===================================================================

diff --git a/source/blender/editors/space_file/filelist.c 
b/source/blender/editors/space_file/filelist.c
index 2ed941b..e143f44 100644
--- a/source/blender/editors/space_file/filelist.c
+++ b/source/blender/editors/space_file/filelist.c
@@ -1495,7 +1495,6 @@ static void filelist_readjob_list_lib(const char *root, 
struct direntry **files,
                                        ima = IMB_allocImBuf(w, h, 32, IB_rect);
                                        memcpy(ima->rect, rect, w * h * 
sizeof(unsigned int));
                                        file->image = ima;
-                                       file->flags = IMAGEFILE;
                                }
                        }
                }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to