1
0
Fork 0
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:
OverloadedOrama 2019-12-21 22:24:39 +02:00
parent b5ea3303a1
commit 2ea71475ea
4 changed files with 38 additions and 34 deletions

View file

@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/Next_Frame_hover.png-29e3bdc3bfb09dbf24f0d4ef57cdadd0.stex"
path="res://.import/Next_Frame_Hover.png-ba92cf8a5dbcda245610c78c96d6bf93.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Graphics/Dark Themes/Timeline/Next_Frame_hover.png"
dest_files=[ "res://.import/Next_Frame_hover.png-29e3bdc3bfb09dbf24f0d4ef57cdadd0.stex" ]
source_file="res://Assets/Graphics/Dark Themes/Timeline/Next_Frame_Hover.png"
dest_files=[ "res://.import/Next_Frame_Hover.png-ba92cf8a5dbcda245610c78c96d6bf93.stex" ]
[params]

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2019 OverloadedOrama -->
<!-- Copyright (c) 2019 Orama Interactive -->
<component type="desktop">
<id>com.orama_interactive.Pixelorama.desktop</id>
<name>Pixelorama</name>
@ -12,18 +12,18 @@
</description>
<metadata_license>CC0-1.0</metadata_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="bugtracker">https://github.com/OverloadedOrama/Pixelorama/issues</url>
<url type="bugtracker">https://github.com/Orama-Interactive/Pixelorama/issues</url>
<screenshots>
<screenshot type="default" width="1918" height="1054">
<image type="source">https://functionoverload590613498.files.wordpress.com/2019/11/screenshot_268.png</image>
<caption>Editing an animated sprite</caption>
<screenshot type="default" width="1919" height="1079">
<image type="source">https://static.wixstatic.com/media/673cdd_b31327135c20489d8d632cfe9e642257~mv2.png</image>
<caption>Art by Erevos</caption>
</screenshot>
</screenshots>
<content_rating type="oars-1.1"/>
<releases>
<release version="0.4" date="2019-11-13"/>
<release version="0.5" date="2019-12-12"/>
</releases>
<update_contact>hugo.locurcio@hugo.pro</update_contact>
</component>

View file

@ -110,7 +110,9 @@ func deserialize(input_string : String) -> Palette:
if data.has("name"): #If data is 'valid' palette file
result = get_script().new()
result.name = data.name
if data.has("comments"):
result.comments = data.comments
if data.has("editable"):
result.editable = data.editable
for color_data in data.colors:
result.add_color(color_data.data, color_data.name)