[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [51967] trunk/blender/source/blender/ makesrna/intern/rna_color.c: Invalidate sequencer cache when movie clip' s input color space is changing
Sergey Sharybin
sergey.vfx at gmail.com
Wed Nov 7 11:18:16 CET 2012
Revision: 51967
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=51967
Author: nazgul
Date: 2012-11-07 10:18:11 +0000 (Wed, 07 Nov 2012)
Log Message:
-----------
Invalidate sequencer cache when movie clip's input color space is changing
Currently the only way is to invalidate the whole cache, for something
smarter we'll need a dependency graph which would be able to deal with
relations between clip and strip.
Modified Paths:
--------------
trunk/blender/source/blender/makesrna/intern/rna_color.c
Modified: trunk/blender/source/blender/makesrna/intern/rna_color.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_color.c 2012-11-07 09:28:59 UTC (rev 51966)
+++ trunk/blender/source/blender/makesrna/intern/rna_color.c 2012-11-07 10:18:11 UTC (rev 51967)
@@ -503,6 +503,10 @@
BKE_movieclip_reload(clip);
+ /* all sequencers for now, we don't know which scenes are using this clip as a strip */
+ BKE_sequencer_cache_cleanup();
+ BKE_sequencer_preprocessed_cache_cleanup();
+
WM_main_add_notifier(NC_MOVIECLIP | ND_DISPLAY, &clip->id);
WM_main_add_notifier(NC_MOVIECLIP | NA_EDITED, &clip->id);
}
More information about the Bf-blender-cvs
mailing list