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>2005-05-27 16:53:28 +0400
committerTon Roosendaal <ton@blender.org>2005-05-27 16:53:28 +0400
commit44a2c2267b6a0b4f8bc4b79fb27ff12fd6e5498f (patch)
tree363f06abf1756d88c09de27b2aa5d80dbfc8fbed
parent12671f30bd236d0e3d0b13266dc16a0e1331c3fc (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! :)
-rw-r--r--source/blender/src/sequence.c3
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;