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:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-01-04 19:28:03 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-01-04 19:28:03 +0400
commit829216325de89ec156885ec7b8d2783c645e49a2 (patch)
tree60444893a5e13b8839ee98214c70b56c1e146f03 /source/blender/render
parenta4604c457dd422f0c9745062dad762dfbc09fdaf (diff)
Fix #29764: Crash when border rendering in sequencer. (Not Cycles related)
Sequencer render context should be as large as the whole frame when rendering using border without clipping. Can be implemented in more clear way but it'll require more global refactoring.
Diffstat (limited to 'source/blender/render')
-rw-r--r--source/blender/render/intern/source/pipeline.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/source/blender/render/intern/source/pipeline.c b/source/blender/render/intern/source/pipeline.c
index 555d5c12a86..0068407a7df 100644
--- a/source/blender/render/intern/source/pipeline.c
+++ b/source/blender/render/intern/source/pipeline.c
@@ -2538,9 +2538,17 @@ static void do_render_seq(Render * re)
recurs_depth++;
- context = seq_new_render_data(re->main, re->scene,
- re->result->rectx, re->result->recty,
- 100);
+ if((re->r.mode & R_BORDER) && (re->r.mode & R_CROP)==0) {
+ /* if border rendering is used and cropping is disabled, final buffer should
+ be as large as the whole frame */
+ context = seq_new_render_data(re->main, re->scene,
+ re->winx, re->winy,
+ 100);
+ } else {
+ context = seq_new_render_data(re->main, re->scene,
+ re->result->rectx, re->result->recty,
+ 100);
+ }
ibuf = give_ibuf_seq(context, cfra, 0);