mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-22 05:23: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:
parent
91aea32864
commit
4943ab5eab
2 changed files with 2 additions and 0 deletions
|
@ -333,6 +333,7 @@ config/windows_native_icon="res://assets/graphics/icons/icon.ico"
|
||||||
config/custom_user_dir_name.X11="pixelorama"
|
config/custom_user_dir_name.X11="pixelorama"
|
||||||
config/Version="v0.11-dev"
|
config/Version="v0.11-dev"
|
||||||
config/ExtensionsAPI_Version=3
|
config/ExtensionsAPI_Version=3
|
||||||
|
config/Pxo_Version=2
|
||||||
|
|
||||||
[audio]
|
[audio]
|
||||||
|
|
||||||
|
|
|
@ -318,6 +318,7 @@ func serialize() -> Dictionary:
|
||||||
|
|
||||||
var project_data := {
|
var project_data := {
|
||||||
"pixelorama_version": Global.current_version,
|
"pixelorama_version": Global.current_version,
|
||||||
|
"pxo_version": ProjectSettings.get_setting("application/config/Pxo_Version"),
|
||||||
"name": name,
|
"name": name,
|
||||||
"size_x": size.x,
|
"size_x": size.x,
|
||||||
"size_y": size.y,
|
"size_y": size.y,
|
||||||
|
|
Loading…
Add table
Reference in a new issue