This commit is contained in:
@@ -4,6 +4,7 @@ import networks.roads.lanes.Lane as Lane
|
||||
import networks.roads.lines.Line as Line
|
||||
import json
|
||||
import random
|
||||
import config
|
||||
|
||||
from gdpc import Editor, Block, geometry
|
||||
|
||||
@@ -15,7 +16,7 @@ class Road:
|
||||
self.width = 10 # TODO
|
||||
|
||||
def place_roads(self):
|
||||
editor = Editor(buffering=True)
|
||||
editor = Editor(host=config.getHost(), buffering=True)
|
||||
|
||||
self.resolution, self.distance = curve_tools.resolution_distance(
|
||||
self.coordinates, 12)
|
||||
|
||||
Reference in New Issue
Block a user