| 45 | } |
| 46 | |
| 47 | void ReverseFramesCommand::onExecute(Context* context) |
| 48 | { |
| 49 | auto range = App::instance()->timeline()->range(); |
| 50 | if (!range.enabled()) |
| 51 | return; // Nothing to do |
| 52 | |
| 53 | Document* doc = context->activeDocument(); |
| 54 | |
| 55 | reverse_frames(doc, range); |
| 56 | |
| 57 | update_screen_for_document(doc); |
| 58 | } |
| 59 | |
| 60 | Command* CommandFactory::createReverseFramesCommand() |
| 61 | { |
nothing calls this directly
no test coverage detected