[Bf-blender-cvs] [8edfcf6] master: Movie Clip: Invlaidate clip cache when changing timecode

Sergey Sharybin noreply at git.blender.org
Wed May 20 14:53:14 CEST 2015


Commit: 8edfcf653a97628504de893b0d9b091783d136fc
Author: Sergey Sharybin
Date:   Wed May 20 17:52:27 2015 +0500
Branches: master
https://developer.blender.org/rB8edfcf653a97628504de893b0d9b091783d136fc

Movie Clip: Invlaidate clip cache when changing timecode

===================================================================

M	source/blender/makesrna/intern/rna_movieclip.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_movieclip.c b/source/blender/makesrna/intern/rna_movieclip.c
index e891ab5..9ccde65 100644
--- a/source/blender/makesrna/intern/rna_movieclip.c
+++ b/source/blender/makesrna/intern/rna_movieclip.c
@@ -196,7 +196,7 @@ static void rna_def_movieclip_proxy(BlenderRNA *brna)
 	RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
 	RNA_def_property_enum_items(prop, clip_tc_items);
 	RNA_def_property_ui_text(prop, "Timecode", "");
-	RNA_def_property_update(prop, NC_MOVIECLIP | ND_DISPLAY, NULL);
+	RNA_def_property_update(prop, NC_MOVIECLIP | ND_DISPLAY, "rna_MovieClip_reload_update");
 
 	/* directory */
 	prop = RNA_def_property(srna, "directory", PROP_STRING, PROP_DIRPATH);




More information about the Bf-blender-cvs mailing list