This commit is contained in:
@@ -7,6 +7,7 @@ from gdpc import Block as place
|
||||
import numpy as np
|
||||
import networks.legacy_roads.maths as maths
|
||||
import math
|
||||
import config
|
||||
|
||||
import networks.legacy_roads.tools as tools
|
||||
|
||||
@@ -506,7 +507,7 @@ def irlToMc(coordinates):
|
||||
|
||||
heightmap = Image.open('./world_maker/data/heightmap.png')
|
||||
|
||||
editor = Editor()
|
||||
editor = Editor(host=config.getHost())
|
||||
buildArea = editor.getBuildArea()
|
||||
xMin = (editor.getBuildArea().begin).x
|
||||
yMin = (editor.getBuildArea().begin).y
|
||||
@@ -549,7 +550,7 @@ def setRoads(skeleton):
|
||||
for i in range(len(housesCoordinates)):
|
||||
pos = housesCoordinates[i]
|
||||
# print(pos, "pos0")
|
||||
editor = Editor()
|
||||
editor = Editor(host=config.getHost())
|
||||
xMin = (editor.getBuildArea().begin).x
|
||||
yMin = (editor.getBuildArea().begin).y
|
||||
zMin = (editor.getBuildArea().begin).z
|
||||
|
||||
Reference in New Issue
Block a user