Create new movie file if already exists #92067
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is branched off of #71420, which I think has been abandoned after asking on the PR back in March.
This PR implements the requested feedback on top of the original changes from the original PR to create a new movie file if the path already exists instead of overwriting. Thank you to the original author for opening the original PR, this is a feature I've been wanting!
This is the sample project I created for testing the code: https://github.com/morganwesemann/godot-movie-maker-test
This will close godotengine/godot-proposals#5989.
Here's what the setting looks like which defaults to true.
Multiple files for both
.avi
and.png
extensions in the project movie file settings:Log output showing correct filename: