CONFIG
All checks were successful
Linux arm64 / Build (push) Successful in 1m3s

This commit is contained in:
2024-10-02 16:56:38 +02:00
parent cf85af9a77
commit 5d856dc66b
11 changed files with 29 additions and 17 deletions

View File

@@ -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