When opening a .pxo project which has guides, they will no longer be added to the project at the first tab too

This commit is contained in:
Manolis Papadeas 2020-11-25 18:25:56 +02:00
parent 37ee4856ff
commit 54c6c86099
2 changed files with 2 additions and 2 deletions

View file

@ -323,8 +323,8 @@ func deserialize(dict : Dictionary) -> void:
guide.add_point(Vector2(g.pos, -99999))
guide.add_point(Vector2(g.pos, 99999))
guide.has_focus = false
guide.project = self
Global.canvas.add_child(guide)
guides.append(guide)
if dict.has("symmetry_points"):
x_symmetry_point = dict.symmetry_points[0]
y_symmetry_point = dict.symmetry_points[1]