Skip to content

Conversation

@shendriks
Copy link

What?

Add the current date and time (the format being YYYYMMDDHHMMSS ) to the export file name. e.g. Space Background 20230509094600.png.

Why?

This is to avoid overwriting a previously exported image of the same name.

How?

In GUI.gd in the save_image(img) function, the current date and time is determined through a call to Time.get_datetime_dict_from_system(). This is then used in a format string and appended to the filename.

Testing?

This was tested manually.

Screenshots (optional)

n/a

Anything Else?

n/a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant