mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
Replace "{name}" with the project name when exporting
This commit is contained in:
parent
bf14ac1565
commit
473dabf004
|
@ -605,6 +605,8 @@ func is_ffmpeg_installed() -> bool:
|
|||
|
||||
func _create_export_path(multifile: bool, project: Project, frame := 0, layer := -1) -> String:
|
||||
var path := project.file_name
|
||||
if path.contains("{name}"):
|
||||
path = path.replace("{name}", project.name)
|
||||
# Only append frame number when there are multiple files exported
|
||||
if multifile:
|
||||
var path_extras := ""
|
||||
|
|
Loading…
Reference in a new issue