From 08429b56ce43df4b779a75a64382b0b7da906c9d Mon Sep 17 00:00:00 2001 From: CJSatnarine Date: Fri, 29 Dec 2023 23:55:15 -0500 Subject: [PATCH] Impliment buildTree function --- GenerateTerrain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GenerateTerrain.py b/GenerateTerrain.py index 497efc3..5de8f47 100644 --- a/GenerateTerrain.py +++ b/GenerateTerrain.py @@ -66,9 +66,9 @@ def buildTree(): treeYPos = random.randint(0, yNum - 1) treeZPos = z + 0.5 + # Add a single block as the location of the tree stump. bpy.ops.mesh.primitive_cube_add(size = size, location = (treeXPos, treeYPos, treeZPos), scale = (size, size, size)) - # Calling the functions: cleanScene() spawnGround()