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! :)
This commit is contained in:
2005-05-27 12:53:28 +00:00
parent 12671f30bd
commit 44a2c2267b

View File

@@ -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;