diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2022-06-26 01:38:20 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2022-07-27 18:50:28 +0200 |
commit | aaeb60eafc44cda6151a1c6f06ac709335f06f00 (patch) | |
tree | efb119dd03a6b5cfd245f423ff36ee5f82bdcdec /scene/animation/tween.cpp | |
parent | 03987738aae247d9a62c239a3cdf2546612ca84a (diff) |
Add a Movie Quit On Finish property to AnimationPlayer
This quits the project when an animation is done playing in the
given AnimationPlayer, but only in Movie Maker mode.
When this happens, a message is printed with the absolute path of the
AnimationPlayer node that caused the engine to quit.
This can be used to create videos that stop at a specified time
without having to write any script.
A report is now also printed to the console when the video is done
recording (as long as the engine was exited properly).
This report is unfortunately not always visible in the editor's
Output panel, as it's printed too late.
A method was also added to get the path to the output file from the
scripting API.
Diffstat (limited to 'scene/animation/tween.cpp')
0 files changed, 0 insertions, 0 deletions