1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-03-14 07:15:19 +00:00

Fix crash when importing pxos older than v0.7

This commit is contained in:
Emmanouil Papadeas 2022-10-17 03:18:05 +03:00
parent 0faacafb16
commit 82d63bd2e8

View file

@ -254,6 +254,7 @@ func open_old_pxo_file(file: File, new_project: Project, first_line: String) ->
frame_line = file.get_line()
frame += 1
if layer_dicts:
for layer_i in new_project.layers.size():
# Now that we have the layers, frames, and cels, deserialize layer data
new_project.layers[layer_i].deserialize(layer_dicts[layer_i])