diff options
author | Ton Roosendaal <ton@blender.org> | 2005-05-27 16:53:28 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-05-27 16:53:28 +0400 |
commit | 44a2c2267b6a0b4f8bc4b79fb27ff12fd6e5498f (patch) | |
tree | 363f06abf1756d88c09de27b2aa5d80dbfc8fbed /source/blender/src/sequence.c | |
parent | 12671f30bd236d0e3d0b13266dc16a0e1331c3fc (diff) |
On Render or Anim, no redraws should happin in the UI for sequence window.
This was enforced in a commit 5 months ago, for proper redraws while
working in sequencer itself (with scene strips)
Found by Ztonzy, explained by Jesterking. Thanks! :)
Diffstat (limited to 'source/blender/src/sequence.c')
-rw-r--r-- | source/blender/src/sequence.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/sequence.c b/source/blender/src/sequence.c index 93207049115..37b61c60fe3 100644 --- a/source/blender/src/sequence.c +++ b/source/blender/src/sequence.c @@ -1939,6 +1939,7 @@ void do_build_seqar_cfra(ListBase *seqbase, Sequence ***seqar, int cfra) } else if(seq->type==SEQ_SCENE && se->ibuf==0 && seq->scene) { // scene can be NULL after deletions View3D *vd; + int redisplay= (!G.background && !(R.flag & R_RENDERING)); oldsce= G.scene; set_scene_bg(seq->scene); @@ -1958,7 +1959,7 @@ void do_build_seqar_cfra(ListBase *seqbase, Sequence ***seqar, int cfra) G.vd= NULL; RE_initrender(NULL); - if (!G.background) { + if (redisplay) { mainwindow_make_active(); if(R.r.mode & R_FIELDS) update_for_newframe_muted(); R.flag= 0; |