* Called when a node stops playing.
()
| 89 | * Called when a node stops playing. |
| 90 | */ |
| 91 | endPlayingShot () { |
| 92 | if (this._ignoreUndoCommands) { |
| 93 | return |
| 94 | } |
| 95 | this.additionalCommandStateStack.push(this.currentNodeUndoCommands) |
| 96 | this.currentNodeUndoCommands = [] |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | const UndoSystemSingleton = new UndoSystem() |