added reset in or out point

This commit is contained in:
itsmattkc
2019-01-11 00:24:09 +11:00
parent a00b14e13c
commit 0b0aaa3218
4 changed files with 37 additions and 0 deletions
+14
View File
@@ -431,6 +431,20 @@ void Viewer::update_viewer() {
update_end_timecode();
}
void Viewer::clear_in() {
if (seq->using_workarea) {
undo_stack.push(new SetTimelineInOutCommand(seq, true, 0, seq->workarea_out));
update_parents();
}
}
void Viewer::clear_out() {
if (seq->using_workarea) {
undo_stack.push(new SetTimelineInOutCommand(seq, true, seq->workarea_in, seq->getEndFrame()));
update_parents();
}
}
void Viewer::clear_inout_point() {
if (seq->using_workarea) {
undo_stack.push(new SetTimelineInOutCommand(seq, false, 0, 0));