viewer: Add undo/redo support to the transformation box

Desktop / GNOME / PiTiVi - Thibault Saunier [gnome.org] - 7 April 2016 07:39 UTC

+ Add the notion of FinalizingAction to UndoableActionStack so that we can commit the timeline *only* once after all actions have been executed

Differential Revision: https://phabricator.freedesktop.org/D844

2a4e9ad viewer: Add undo/redo support to the transformation box
pitivi/undo/timeline.py | 13 +++++++++++--
pitivi/undo/undo.py | 22 +++++++++++++++++++---
pitivi/viewer/move_scale_overlay.py | 16 +++++++++++++++-
pitivi/viewer/overlay_stack.py | 2 +-
pre-commit.hook | 1 +
5 files changed, 47 insertions(+), 7 deletions(-)

Upstream: git.gnome.org


  • Share