Fixed site index
This commit is contained in:
@@ -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"];
|
||||
|
||||
Reference in New Issue
Block a user