[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [50749] trunk/blender/source/blender/ makesrna/intern/rna_movieclip.c: Mark movie clip user current frame as editable

Sergey Sharybin sergey.vfx at gmail.com
Wed Sep 19 19:14:43 CEST 2012


Revision: 50749
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=50749
Author:   nazgul
Date:     2012-09-19 17:14:43 +0000 (Wed, 19 Sep 2012)
Log Message:
-----------
Mark movie clip user current frame as editable

It should be pretty safe change which would allow doing stuff like
python-defined tracking routines without need to update the whole
scene when it's needed to perform some operation on different clip
frame.

It'll be possible to write operators similar to tracking, which
updates space clip's frame number, but not scene frame when tracking
and only synchronizes scene frame number on operator finish.

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_movieclip.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_movieclip.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_movieclip.c	2012-09-19 17:11:07 UTC (rev 50748)
+++ trunk/blender/source/blender/makesrna/intern/rna_movieclip.c	2012-09-19 17:14:43 UTC (rev 50749)
@@ -188,7 +188,6 @@
 	                       "Parameters defining how a MovieClip datablock is used by another datablock");
 
 	prop = RNA_def_property(srna, "current_frame", PROP_INT, PROP_TIME);
-	RNA_def_property_clear_flag(prop, PROP_EDITABLE);
 	RNA_def_property_int_sdna(prop, NULL, "framenr");
 	RNA_def_property_range(prop, MINAFRAME, MAXFRAME);
 	RNA_def_property_ui_text(prop, "Current Frame", "Current frame number in movie or image sequence");




More information about the Bf-blender-cvs mailing list