Swapping a Blender material for another is now auto synchronised.

This commit is contained in:
Dion Moult
2021-11-11 18:21:02 +11:00
parent 6f55cd5169
commit 2ec3c4c06b
11 changed files with 59 additions and 5 deletions
+1
View File
@@ -91,6 +91,7 @@ def i_add_a_sun():
@given("I add a material")
@when("I add a material")
def i_add_a_material():
bpy.context.active_object.active_material = bpy.data.materials.new("Material")