mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 06:39:13 +00:00
Fix #1872. Bug where duplicating an object didn't duplicate its styles.
This commit is contained in:
@@ -62,7 +62,8 @@ class TestAddRepresentation:
|
||||
|
||||
# Add styles
|
||||
geometry.get_object_materials_without_styles("obj").should_be_called().will_return(["material"])
|
||||
test.core.test_style.TestAddStyle.predict(self, ifc, style, obj="material")
|
||||
geometry.run_style_add_style(obj="material").should_be_called()
|
||||
geometry.get_styles("obj").should_be_called().will_return(["style"])
|
||||
|
||||
# Link style to representation items
|
||||
geometry.should_use_presentation_style_assignment().should_be_called().will_return(False)
|
||||
|
||||
Reference in New Issue
Block a user