From 1b27cd70e573118580bc83a5a8ca2bdc31616414 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Wed, 4 Feb 2009 17:40:50 +0000 Subject: 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. --- source/blender/editors/include/ED_image.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/editors/include/ED_image.h') diff --git a/source/blender/editors/include/ED_image.h b/source/blender/editors/include/ED_image.h index ac73aa10e4f..84225d85877 100644 --- a/source/blender/editors/include/ED_image.h +++ b/source/blender/editors/include/ED_image.h @@ -29,11 +29,15 @@ #define ED_IMAGE_H struct SpaceImage; +struct bContext; /* space_image.c, exported for transform */ struct Image *ED_space_image(struct SpaceImage *sima); void ED_space_image_size(struct SpaceImage *sima, int *width, int *height); void ED_space_image_uv_aspect(struct SpaceImage *sima, float *aspx, float *aspy); +/* image_render.c, export for screen_ops.c, render operator */ +void ED_space_image_output(struct bContext *C); + #endif /* ED_IMAGE_H */ -- cgit v1.2.3