Fixed site index

This commit is contained in:
Segey Lapin
2021-10-24 16:18:10 +03:00
parent 8a5e9e0186
commit aef8a11cc4
2 changed files with 3 additions and 2 deletions

View File

@@ -254,7 +254,8 @@ void RoadDiagram::process_diagram(const Dictionary &diagram)
ge.edge = ge_data["edge"];
site.graphedges.write[j] = ge;
}
site.index = site_data["index"];
site.index = i;
site.diagram_index = site_data["index"];
site.pos = site_data["pos"];
site.polygon = site_data["polygon"];
site.vertices = site_data["vertices"];