Test to add building

This commit is contained in:
2024-06-24 23:17:44 +02:00
parent 8a3909c12f
commit a364c7809c
28 changed files with 104 additions and 49 deletions

View File

@@ -56,7 +56,7 @@ def remove_trees(heightmap: Union[str, Image], treesmap: Union[str, Image], mask
def smooth_terrain(heightmap: Union[str, Image], heightmap_smooth: Union[str, Image], mask: Union[str, Image]):
print("[Smooth terrain] Starting...")
editor = Editor()
editor = Editor(buffering=True)
build_area = editor.getBuildArea()
build_rectangle = build_area.toRect()