1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-19 01:29:49 +00:00
This commit is contained in:
Manolis Papadeas 2022-01-03 14:05:41 +02:00
parent 0495d034dd
commit 8f701dfee0

View file

@ -425,10 +425,10 @@ func deserialize(dict: Dictionary) -> void:
if dict.has("symmetry_points"): if dict.has("symmetry_points"):
x_symmetry_point = dict.symmetry_points[0] x_symmetry_point = dict.symmetry_points[0]
y_symmetry_point = dict.symmetry_points[1] y_symmetry_point = dict.symmetry_points[1]
for point in x_symmetry_axis.points: for point in x_symmetry_axis.points.size():
point.y = floor(y_symmetry_point / 2 + 1) x_symmetry_axis.points[point].y = floor(y_symmetry_point / 2 + 1)
for point in y_symmetry_axis.points: for point in y_symmetry_axis.points.size():
point.x = floor(x_symmetry_point / 2 + 1) y_symmetry_axis.points[point].x = floor(x_symmetry_point / 2 + 1)
if dict.has("export_directory_path"): if dict.has("export_directory_path"):
directory_path = dict.export_directory_path directory_path = dict.export_directory_path
if dict.has("export_file_name"): if dict.has("export_file_name"):