diff options
author | Ton Roosendaal <ton@blender.org> | 2009-01-06 20:38:44 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-01-06 20:38:44 +0300 |
commit | e99d12508e0726aa2ca3fc7f17b08b3716ebf28b (patch) | |
tree | 9e440d12016f0ab1cfe18051052ccf8fa79ed4de /source/blender/editors/space_file/space_file.c | |
parent | 650c63ec2245533cb2a4a67efc99f4e78455c029 (diff) |
2.5
File window: load now happens with proper free of operator.
still a bit of mystery how main handler loop survives after
a file load... will investigate once. :)
Diffstat (limited to 'source/blender/editors/space_file/space_file.c')
-rw-r--r-- | source/blender/editors/space_file/space_file.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/space_file/space_file.c b/source/blender/editors/space_file/space_file.c index f5e7ffa7773..d5d16c07417 100644 --- a/source/blender/editors/space_file/space_file.c +++ b/source/blender/editors/space_file/space_file.c @@ -173,7 +173,7 @@ static void file_main_area_init(wmWindowManager *wm, ARegion *ar) static void file_main_area_draw(const bContext *C, ARegion *ar) { /* draw entirely, view changes should be handled here */ - SpaceFile *sfile= (SpaceFile*)CTX_wm_space_data(C); +// SpaceFile *sfile= (SpaceFile*)CTX_wm_space_data(C); FileSelectParams* params = ED_fileselect_get_params(C); View2D *v2d= &ar->v2d; View2DScrollers *scrollers; @@ -322,10 +322,10 @@ static void file_ui_area_draw(const bContext *C, ARegion *ar) UI_view2d_view_restore(C); } -static void file_main_area_listener(ARegion *ar, wmNotifier *wmn) -{ +//static void file_main_area_listener(ARegion *ar, wmNotifier *wmn) +//{ /* context changes */ -} +//} /* only called once, from space/spacetypes.c */ void ED_spacetype_file(void) |