1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-02-20 12:33:14 +00:00

Add pxo version to pxo files, starting from 2

Its value should increase every time there is a compatibility-breaking or a major change between previous pxo files, similar to extensionsAPI version.
This commit is contained in:
Emmanouil Papadeas 2023-04-01 02:16:24 +03:00
parent 91aea32864
commit 4943ab5eab
2 changed files with 2 additions and 0 deletions

View file

@ -333,6 +333,7 @@ config/windows_native_icon="res://assets/graphics/icons/icon.ico"
config/custom_user_dir_name.X11="pixelorama"
config/Version="v0.11-dev"
config/ExtensionsAPI_Version=3
config/Pxo_Version=2
[audio]

View file

@ -318,6 +318,7 @@ func serialize() -> Dictionary:
var project_data := {
"pixelorama_version": Global.current_version,
"pxo_version": ProjectSettings.get_setting("application/config/Pxo_Version"),
"name": name,
"size_x": size.x,
"size_y": size.y,