mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 06:21:40 +00:00
Swapping a Blender material for another is now auto synchronised.
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user