Took out code that created an error.

This commit is contained in:
CJ Satnarine
2023-03-23 20:41:34 -04:00
committed by GitHub
parent ff581451aa
commit 5cf58c6530

View File

@@ -39,10 +39,6 @@ for x in range(20):
# Add a new material slot. # Add a new material slot.
bpy.ops.object.material_slot_add(); bpy.ops.object.material_slot_add();
# Add a blue material to the mesh named "Cube".
bpy.data.objects['Cube'].material_slots[0].material = bpy.data.materials['Material.001'];
# Notes: # Notes:
# - For loop for the grid: # - For loop for the grid:
# - x is for creating cubes in the x axis. # - x is for creating cubes in the x axis.