diff options
author | Andrea Weikert <elubie@gmx.net> | 2009-07-12 12:12:22 +0400 |
---|---|---|
committer | Andrea Weikert <elubie@gmx.net> | 2009-07-12 12:12:22 +0400 |
commit | 2940384d9a8e3601e2ceefbf0487ce781a3b10f7 (patch) | |
tree | 2c46319928fa30251dfc32ebc9f82d3f1345b897 /source/blender/blenloader/intern | |
parent | ba1082444efae1085bd01f240958bc9fceb826a5 (diff) |
2.5 file browser
* bugfix: adding back adding the region on read of old files
* tweak: buttons for increment/decrement file number now have icons and size adjusted to UI_UNIT_X/UI_UNIT_Y
Diffstat (limited to 'source/blender/blenloader/intern')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 846e54526b8..479fa760423 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -5677,6 +5677,17 @@ static void area_add_window_regions(ScrArea *sa, SpaceLink *sl, ListBase *lb) /* temporarily hide it */ ar->flag = RGN_FLAG_HIDDEN; break; + case SPACE_FILE: + ar= MEM_callocN(sizeof(ARegion), "nodetree area for node"); + BLI_addtail(lb, ar); + ar->regiontype= RGN_TYPE_CHANNELS; + ar->alignment= RGN_ALIGN_LEFT; + + ar= MEM_callocN(sizeof(ARegion), "ui area for file"); + BLI_addtail(lb, ar); + ar->regiontype= RGN_TYPE_UI; + ar->alignment= RGN_ALIGN_TOP; + break; #if 0 case SPACE_BUTS: /* context UI region */ |