forked from bartvdbraak/blender
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.
This commit is contained in:
parent
3bf576e57e
commit
ef216ee558
@ -188,7 +188,6 @@ static void rna_def_moviecliUser(BlenderRNA *brna)
|
|||||||
"Parameters defining how a MovieClip datablock is used by another datablock");
|
"Parameters defining how a MovieClip datablock is used by another datablock");
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "current_frame", PROP_INT, PROP_TIME);
|
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_int_sdna(prop, NULL, "framenr");
|
||||||
RNA_def_property_range(prop, MINAFRAME, MAXFRAME);
|
RNA_def_property_range(prop, MINAFRAME, MAXFRAME);
|
||||||
RNA_def_property_ui_text(prop, "Current Frame", "Current frame number in movie or image sequence");
|
RNA_def_property_ui_text(prop, "Current Frame", "Current frame number in movie or image sequence");
|
||||||
|
Loading…
Reference in New Issue
Block a user