mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
Fix bug where copying objects may sometimes result in incorrect location in the Blender collection tree
This commit is contained in:
@@ -13,3 +13,13 @@ Scenario: Unlink object
|
||||
Then the object "Cube" is not an IFC element
|
||||
And the material "Material" is not an IFC material
|
||||
And the material "Material" is not an IFC style
|
||||
|
||||
|
||||
Scenario: Copy class
|
||||
Given an empty IFC project
|
||||
And I add a cube
|
||||
And the object "Cube" is selected
|
||||
And I set "scene.BIMRootProperties.ifc_class" to "IfcWall"
|
||||
And I press "bim.assign_class"
|
||||
When I press "bim.copy_class(obj='IfcWall/Cube')"
|
||||
Then the object "IfcWall/Cube" is an "IfcWall"
|
||||
|
||||
Reference in New Issue
Block a user