mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
Fix #626
This commit is contained in:
parent
0495d034dd
commit
8f701dfee0
|
@ -425,10 +425,10 @@ func deserialize(dict: Dictionary) -> void:
|
|||
if dict.has("symmetry_points"):
|
||||
x_symmetry_point = dict.symmetry_points[0]
|
||||
y_symmetry_point = dict.symmetry_points[1]
|
||||
for point in x_symmetry_axis.points:
|
||||
point.y = floor(y_symmetry_point / 2 + 1)
|
||||
for point in y_symmetry_axis.points:
|
||||
point.x = floor(x_symmetry_point / 2 + 1)
|
||||
for point in x_symmetry_axis.points.size():
|
||||
x_symmetry_axis.points[point].y = floor(y_symmetry_point / 2 + 1)
|
||||
for point in y_symmetry_axis.points.size():
|
||||
y_symmetry_axis.points[point].x = floor(x_symmetry_point / 2 + 1)
|
||||
if dict.has("export_directory_path"):
|
||||
directory_path = dict.export_directory_path
|
||||
if dict.has("export_file_name"):
|
||||
|
|
Loading…
Reference in a new issue