Compare commits

...

3 Commits

Author SHA1 Message Date
Andrej730 6c517ae047 bonsai pytest.ini - specify plugins explicitly
To make it possible to run the tests with PYTEST_DISABLE_PLUGIN_AUTOLOAD set, which is very useful if you don't want to start Blender anytime you run any tests on your system.
2025-05-06 19:03:36 +05:00
Andrej730 4fb06d0508 Fix bim search tests after 0b22333 2025-05-06 19:03:15 +05:00
Andrej730 86476c6f4d Revert "Merge branch 'falken10vdl-patch-2' into v0.8.0"
This reverts commit 979964f211, reversing
changes made to dbdde52435.
2025-05-06 19:03:15 +05:00
3 changed files with 14 additions and 3 deletions
@@ -276,8 +276,6 @@ class ColourByProperty(Operator):
colourscheme = {cs.name: {"colour": cs.colour[0:3], "total": 0} for cs in props.colourscheme}
for obj in context.visible_objects:
if obj.type not in ("MESH", "CURVE"):
continue
element = tool.Ifc.get_entity(obj)
if not element:
continue
+7 -1
View File
@@ -37,4 +37,10 @@ markers =
unit
void
web
addopts = --color=yes --code-highlight=yes
# Provide plugins explicitly, so it will be possible run tests with PYTEST_DISABLE_PLUGIN_AUTOLOAD.
addopts =
-p pytest-blender
-p pytest-bdd
--color=yes
--code-highlight=yes
@@ -51,6 +51,13 @@ Scenario: Flat colours
Scenario: Select by property
Given an empty IFC project
And I add a cube
And the object "Cube" is selected
And I look at the "Class" panel
And I set the "Products" property to "IfcElement"
And I set the "Class" property to "IfcWall"
And I click "Assign IFC Class"
And I look at the "Colour By Property" panel
And I click "Colour by Property"
When I click "RESTRICT_SELECT_OFF"