1
0
Fork 0
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:
Emmanouil Papadeas 2024-04-01 21:45:39 +03:00
parent bf14ac1565
commit 473dabf004

View file

@ -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 := ""