mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
Fixed crash in Palette.gd where json files for palettes may not have had "comments" and "editable"
Also updated com.orama_interactive.Pixelorama.appdata.xml
This commit is contained in:
parent
b5ea3303a1
commit
2ea71475ea
|
@ -2,15 +2,15 @@
|
||||||
|
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="StreamTexture"
|
type="StreamTexture"
|
||||||
path="res://.import/Next_Frame_hover.png-29e3bdc3bfb09dbf24f0d4ef57cdadd0.stex"
|
path="res://.import/Next_Frame_Hover.png-ba92cf8a5dbcda245610c78c96d6bf93.stex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://Assets/Graphics/Dark Themes/Timeline/Next_Frame_hover.png"
|
source_file="res://Assets/Graphics/Dark Themes/Timeline/Next_Frame_Hover.png"
|
||||||
dest_files=[ "res://.import/Next_Frame_hover.png-29e3bdc3bfb09dbf24f0d4ef57cdadd0.stex" ]
|
dest_files=[ "res://.import/Next_Frame_Hover.png-ba92cf8a5dbcda245610c78c96d6bf93.stex" ]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!-- Copyright (c) 2019 OverloadedOrama -->
|
<!-- Copyright (c) 2019 Orama Interactive -->
|
||||||
<component type="desktop">
|
<component type="desktop">
|
||||||
<id>com.orama_interactive.Pixelorama.desktop</id>
|
<id>com.orama_interactive.Pixelorama.desktop</id>
|
||||||
<name>Pixelorama</name>
|
<name>Pixelorama</name>
|
||||||
|
@ -12,18 +12,18 @@
|
||||||
</description>
|
</description>
|
||||||
<metadata_license>CC0-1.0</metadata_license>
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
<project_license>MIT</project_license>
|
<project_license>MIT</project_license>
|
||||||
<developer_name>OverloadedOrama</developer_name>
|
<developer_name>Orama Interactive</developer_name>
|
||||||
<url type="homepage">https://www.orama-interactive.com/pixelorama</url>
|
<url type="homepage">https://www.orama-interactive.com/pixelorama</url>
|
||||||
<url type="bugtracker">https://github.com/OverloadedOrama/Pixelorama/issues</url>
|
<url type="bugtracker">https://github.com/Orama-Interactive/Pixelorama/issues</url>
|
||||||
<screenshots>
|
<screenshots>
|
||||||
<screenshot type="default" width="1918" height="1054">
|
<screenshot type="default" width="1919" height="1079">
|
||||||
<image type="source">https://functionoverload590613498.files.wordpress.com/2019/11/screenshot_268.png</image>
|
<image type="source">https://static.wixstatic.com/media/673cdd_b31327135c20489d8d632cfe9e642257~mv2.png</image>
|
||||||
<caption>Editing an animated sprite</caption>
|
<caption>Art by Erevos</caption>
|
||||||
</screenshot>
|
</screenshot>
|
||||||
</screenshots>
|
</screenshots>
|
||||||
<content_rating type="oars-1.1"/>
|
<content_rating type="oars-1.1"/>
|
||||||
<releases>
|
<releases>
|
||||||
<release version="0.4" date="2019-11-13"/>
|
<release version="0.5" date="2019-12-12"/>
|
||||||
</releases>
|
</releases>
|
||||||
<update_contact>hugo.locurcio@hugo.pro</update_contact>
|
<update_contact>hugo.locurcio@hugo.pro</update_contact>
|
||||||
</component>
|
</component>
|
||||||
|
|
|
@ -110,8 +110,10 @@ func deserialize(input_string : String) -> Palette:
|
||||||
if data.has("name"): #If data is 'valid' palette file
|
if data.has("name"): #If data is 'valid' palette file
|
||||||
result = get_script().new()
|
result = get_script().new()
|
||||||
result.name = data.name
|
result.name = data.name
|
||||||
result.comments = data.comments
|
if data.has("comments"):
|
||||||
result.editable = data.editable
|
result.comments = data.comments
|
||||||
|
if data.has("editable"):
|
||||||
|
result.editable = data.editable
|
||||||
for color_data in data.colors:
|
for color_data in data.colors:
|
||||||
result.add_color(color_data.data, color_data.name)
|
result.add_color(color_data.data, color_data.name)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue