#2094. Removing styles now also purges Blender material object if possible.

This commit is contained in:
Dion Moult
2022-03-26 21:17:52 +11:00
parent 3b0429ace9
commit 4184f2bf46
9 changed files with 71 additions and 17 deletions
@@ -112,7 +112,6 @@ Scenario: Assign material - Assign a material profile set
Then nothing happens
Scenario: Select by material
Scenario: Load materials - then add material
Given an empty IFC project
And I press "bim.load_materials"
And I press "bim.add_material(obj='')"
@@ -14,7 +14,8 @@ Scenario: Remove style
And I add a cube
And I add a material
And I press "bim.add_style"
When I press "bim.remove_style"
And the variable "style" is "{ifc}.by_type('IfcSurfaceStyle')[0].id()"
When I press "bim.remove_style(style={style})"
Then nothing happens
Scenario: Add style