Drag and drop 2.5 integration! Finally, slashdot regulars can use
[blender-staging.git] / source / blender / blenlib / intern / storage.c
index 09bca168e6415a2b77c918ddf2fd3fedef9cf005..ee7734fb14b01ea2190d7daaf7c745b50304a0f6 100644 (file)
@@ -261,6 +261,7 @@ void BLI_builddir(char *dirname, char *relname)
                                while(dlink){
                                        memset(&files[actnum], 0 , sizeof(struct direntry));
                                        files[actnum].relname = dlink->name;
+                                       files[actnum].path = BLI_strdupcat(dirname, dlink->name);
 // use 64 bit file size, only needed for WIN32 and WIN64. 
 // Excluding other than current MSVC compiler until able to test.
 #if (defined(WIN32) || defined(WIN64)) && (_MSC_VER>=1500)