Added initializer in channel region for file window, makes it draw on first use
authorTon Roosendaal <ton@blender.org>
Sun, 10 Feb 2013 14:52:08 +0000 (14:52 +0000)
committerTon Roosendaal <ton@blender.org>
Sun, 10 Feb 2013 14:52:08 +0000 (14:52 +0000)
better (error was visible for factory startup on small screens)

source/blender/editors/space_file/space_file.c

index 7cc322c..0a4b922 100644 (file)
@@ -478,6 +478,7 @@ static void file_channel_area_init(wmWindowManager *wm, ARegion *ar)
 {
        wmKeyMap *keymap;
 
+       ar->v2d.scroll = V2D_SCROLL_RIGHT | V2D_SCROLL_VERTICAL_HIDE;
        ED_region_panels_init(wm, ar);
 
        /* own keymaps */