1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

Fix issue with project loading and not being able to draw outside of 64x64

Project.selected_pixels() did not get updated.
This commit is contained in:
OverloadedOrama 2020-08-20 01:27:21 +03:00
parent 8d1c2e96f3
commit 52effb12cd

View file

@ -254,10 +254,10 @@ func serialize() -> Dictionary:
func deserialize(dict : Dictionary) -> void:
if dict.has("name"):
name = dict.name
if dict.has("size_x"):
if dict.has("size_x") and dict.has("size_y"):
size.x = dict.size_x
if dict.has("size_y"):
size.y = dict.size_y
select_all_pixels()
if dict.has("save_path"):
OpenSave.current_save_paths[Global.projects.find(self)] = dict.save_path
if dict.has("frames"):