()
| 10 | } |
| 11 | |
| 12 | reset () { |
| 13 | // These commands are side effects required to undo forward commands. |
| 14 | this.additionalCommandStateStack = [] |
| 15 | |
| 16 | // We populate this stack from the cinematicCommandRunner, and these are |
| 17 | // the commands that run the cinematic forward. |
| 18 | this.undoCommandStack = [] |
| 19 | |
| 20 | // The undo commands for a current shot. |
| 21 | this.currentNodeUndoCommands = [] |
| 22 | |
| 23 | this._ignoreUndoCommands = false |
| 24 | this.markFirstStopPoint = null |
| 25 | } |
| 26 | |
| 27 | set ignoreUndoCommands (v) { |
| 28 | this._ignoreUndoCommands = v |
no outgoing calls
no test coverage detected