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:
parent
8d1c2e96f3
commit
52effb12cd
|
@ -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"):
|
||||
|
|
Loading…
Reference in a new issue