diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-06-17 18:22:13 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-06-17 18:22:13 +0400 |
commit | a7386bf9862a8d2960931c9d6df21549473adeec (patch) | |
tree | e3edb8770149a8632785eeee47d56f7540c7c40c /source | |
parent | 038e674cddc4d526fe6ab09b1ce94cb5c18c2952 (diff) |
fix for crash with opengl sequencer strips that dont have a camera
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/sequencer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/sequencer.c b/source/blender/blenkernel/intern/sequencer.c index 3ff7370a443..d1ab63ca65e 100644 --- a/source/blender/blenkernel/intern/sequencer.c +++ b/source/blender/blenkernel/intern/sequencer.c @@ -2194,7 +2194,7 @@ static void do_build_seq_ibuf(Scene *scene, Sequence * seq, TStripElem *se, int seq->scene->markers.first= seq->scene->markers.last= NULL; #endif - if(sequencer_view3d_cb && doseq_gl && (seq->scene == scene || have_seq==0)) { + if(sequencer_view3d_cb && doseq_gl && (seq->scene == scene || have_seq==0) && seq->scene->camera) { /* opengl offscreen render */ scene_update_for_newframe(seq->scene, seq->scene->lay); se->ibuf= sequencer_view3d_cb(seq->scene, seqrectx, seqrecty, scene->r.seq_prev_type); |