public override void doAction() { Timeline previousTimeline = TimelineController.PreviousTimeline; if (previousTimeline != null) { foreach (TimelineInstantAction action in previousTimeline.duplicatePostActions()) { Timeline.addPostAction(action); } Timeline.removePostAction(this); } }
private void removeAction(EditUICallback callback) { timeline.removePostAction(editInterface.resolveSourceObject <TimelineInstantAction>(callback.getSelectedEditInterface())); }