[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [49704] trunk/blender/source/blender/ blenkernel/intern/sequencer.c: Sequencer: do not invalidate sequences which are not blending with bottom machines
Sergey Sharybin
sergey.vfx at gmail.com
Wed Aug 8 18:46:43 CEST 2012
Revision: 49704
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=49704
Author: nazgul
Date: 2012-08-08 16:46:43 +0000 (Wed, 08 Aug 2012)
Log Message:
-----------
Sequencer: do not invalidate sequences which are not blending with bottom machines
Modified Paths:
--------------
trunk/blender/source/blender/blenkernel/intern/sequencer.c
Modified: trunk/blender/source/blender/blenkernel/intern/sequencer.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/sequencer.c 2012-08-08 16:46:42 UTC (rev 49703)
+++ trunk/blender/source/blender/blenkernel/intern/sequencer.c 2012-08-08 16:46:43 UTC (rev 49704)
@@ -2728,6 +2728,13 @@
if (cur->machine < seq->machine)
continue;
+ /* sequence is not blending with lower machines, no need to invalidate */
+ if ((cur->blend_mode == SEQ_BLEND_REPLACE) ||
+ (cur->blend_mode == SEQ_TYPE_CROSS && cur->blend_opacity == 100.0f))
+ {
+ continue;
+ }
+
BKE_sequencer_cache_cleanup_sequence(cur);
}
SEQ_END
More information about the Bf-blender-cvs
mailing list