diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-03-08 12:06:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-03-08 12:06:58 +0300 |
commit | 3b105657d50bdcc2dfaf574ac3a5ad4f22b8b237 (patch) | |
tree | 7345436a325903302be27a50b85f214e8e16d919 /source/blender/makesrna/intern/rna_space.c | |
parent | 581efb43469c68cc728a2dab3a9db48d296f2c18 (diff) |
option to transform markers in the dope sheet, needed for re-timing animation. currently supports translate and extend.
TODO:
- select markers in dope sheet.
- transform time scale.
Diffstat (limited to 'source/blender/makesrna/intern/rna_space.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_space.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index b43eb550722..7a224cf5b49 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -1457,6 +1457,10 @@ static void rna_def_space_dopesheet(BlenderRNA *brna) RNA_def_property_ui_text(prop, "Realtime Updates", "When transforming keyframes, changes to the animation data are flushed to other views"); RNA_def_property_update(prop, NC_SPACE|ND_SPACE_DOPESHEET, NULL); + prop= RNA_def_property(srna, "use_marker_sync", PROP_BOOLEAN, PROP_NONE); + RNA_def_property_boolean_sdna(prop, NULL, "flag", SACTION_MARKERS_MOVE); + RNA_def_property_ui_text(prop, "Sync Markers", "Sync Markers with keyframe edits"); + /* dopesheet */ prop= RNA_def_property(srna, "dopesheet", PROP_POINTER, PROP_NONE); RNA_def_property_struct_type(prop, "DopeSheet"); |