diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-09-28 16:10:23 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-09-28 16:10:23 +0400 |
commit | 0356b92d4627885248aed7f39a3e20b267f2e8f7 (patch) | |
tree | 3ff5fceb691b65cabb0bde7da1d358fa19468687 /source/blender/editors/space_file/space_file.c | |
parent | 996c767071fb1ce757e29bfdb5d9a98cac76623b (diff) |
File Browser fixes:
* The code to draw only visible items was not working, giving slow
performance with many files (bug #19469).
* Fix detailed list display on non-windows, would give overlapping text.
* Fix folders with many files not displaying all items, changed short to
int in various places, was overflowing.
* Recreate layout on area resizes, file view gets out of sync otherwise.
* Workaround for v2d height not being correct with image display due to
scrollers.
* Fix view2d code to compute minimum scroller size, this would make the
scroller go outside of its bounds.
Diffstat (limited to 'source/blender/editors/space_file/space_file.c')
-rw-r--r-- | source/blender/editors/space_file/space_file.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/space_file.c b/source/blender/editors/space_file/space_file.c index ca2c145c52b..ed0d998ef40 100644 --- a/source/blender/editors/space_file/space_file.c +++ b/source/blender/editors/space_file/space_file.c @@ -155,8 +155,10 @@ static void file_free(SpaceLink *sl) /* spacetype; init callback, area size changes, screen set, etc */ static void file_init(struct wmWindowManager *wm, ScrArea *sa) { - //SpaceFile *sfile= (SpaceFile*)sa->spacedata.first; + SpaceFile *sfile= (SpaceFile*)sa->spacedata.first; printf("file_init\n"); + + if(sfile->layout) sfile->layout->dirty= 1; } |