diff options
author | Ton Roosendaal <ton@blender.org> | 2009-02-04 20:40:50 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-02-04 20:40:50 +0300 |
commit | 1b27cd70e573118580bc83a5a8ca2bdc31616414 (patch) | |
tree | 4fe31ffb6091c86864bde870d4a3aa6b93687f34 /source/blender/editors/space_info/space_info.c | |
parent | df7e7660325611847721768fb7d082e7d5f2736c (diff) |
2.5
Render back! And not only back, even full threaded now. :)
Current state is unfinished, but too much fun to not to
commit for review and test!
WARNING: because render is in a threaded job, it will
use data as can be edited in the UI. That'll crash in many
cases of course... the idea is to limit UI usage to viewing
stuff, especially for the Image Window to inspect layers
or zoom in/out.
What works now;
- F12 render (no anim)
- ESC from render
- ESC pushes back temporary Image Window
- Render to ImageWindow or full-screen.
- Executing composites, and edit composites after render.
Note that the UI is 100% responsive in a render, you can
switch screens, slide area dividers around, or even load
a new file during render. :) It's quite stable even.
I'll collect all crash reports especially to get a good
picture of where the protection is required at least.
Also added: XKey "Delete Objects", to get things crash...
unfortunately it didn't for me.
Diffstat (limited to 'source/blender/editors/space_info/space_info.c')
-rw-r--r-- | source/blender/editors/space_info/space_info.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/source/blender/editors/space_info/space_info.c b/source/blender/editors/space_info/space_info.c index 7ee6d67f7a8..8b01080495b 100644 --- a/source/blender/editors/space_info/space_info.c +++ b/source/blender/editors/space_info/space_info.c @@ -192,6 +192,17 @@ static void info_main_area_listener(ARegion *ar, wmNotifier *wmn) /* context changes */ } +static void info_header_listener(ARegion *ar, wmNotifier *wmn) +{ + /* context changes */ + switch(wmn->category) { + case NC_SCENE: + if(wmn->data==ND_RENDER_RESULT) + ED_region_tag_redraw(ar); + } + +} + /* only called once, from space/spacetypes.c */ void ED_spacetype_info(void) { @@ -222,7 +233,7 @@ void ED_spacetype_info(void) art->regionid = RGN_TYPE_HEADER; art->minsizey= HEADERY; art->keymapflag= ED_KEYMAP_UI|ED_KEYMAP_VIEW2D; - + art->listener= info_header_listener; art->init= info_header_area_init; art->draw= info_header_area_draw; |