Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2011-02-19 19:55:01 +0300
committerTon Roosendaal <ton@blender.org>2011-02-19 19:55:01 +0300
commite3cc8f00ccd7736227bc40c6a419495918f30759 (patch)
tree70c18c0e8064be738264aaa2adff4be791ab914d /source/blender/editors/render
parente86b787bcc8248b94583b1a78ed883150ea2884b (diff)
From the todo:
New render output option "No Output", which renders without forcing an editor to show an image. Nice for people who prefer to setup composites with background image view.
Diffstat (limited to 'source/blender/editors/render')
-rw-r--r--source/blender/editors/render/render_internal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/render/render_internal.c b/source/blender/editors/render/render_internal.c
index 341f56667fa..17d05bed24a 100644
--- a/source/blender/editors/render/render_internal.c
+++ b/source/blender/editors/render/render_internal.c
@@ -197,6 +197,9 @@ void screen_set_image_output(bContext *C, int mx, int my)
SpaceImage *sima;
int area_was_image=0;
+ if(scene->r.displaymode==R_OUTPUT_NONE)
+ return;
+
if(scene->r.displaymode==R_OUTPUT_WINDOW) {
rcti rect;
int sizex, sizey;