Remove the createTree function
This commit is contained in:
@@ -55,14 +55,9 @@ def spawnGround():
|
|||||||
# Change the base colour.
|
# Change the base colour.
|
||||||
materialNodes['Principled BSDF'].inputs['Base Color'].default_value = (0.056, 0.439, 0.059, 1.0)
|
materialNodes['Principled BSDF'].inputs['Base Color'].default_value = (0.056, 0.439, 0.059, 1.0)
|
||||||
|
|
||||||
# Function to spawn trees on the grass.
|
|
||||||
def spawnTree():
|
|
||||||
print("Tree has spawned.")
|
|
||||||
|
|
||||||
# Calling the functions:
|
# Calling the functions:
|
||||||
cleanScene()
|
cleanScene()
|
||||||
spawnGround()
|
spawnGround()
|
||||||
spawnTree()
|
|
||||||
|
|
||||||
# Shows that the code ran.
|
# Shows that the code ran.
|
||||||
print("The code ran.")
|
print("The code ran.")
|
||||||
|
Reference in New Issue
Block a user