Optimise object placement change checking, so medium sized project exports are 5 seconds faster at minimum, but can be much higher since false positives are culled.

This commit is contained in:
Dion Moult
2021-11-11 17:31:16 +11:00
parent f5f88f4b97
commit 6f55cd5169
8 changed files with 46 additions and 27 deletions
@@ -28,6 +28,7 @@ class TestEditObjectPlacement:
geometry.clear_scale("obj").should_be_called()
surveyor.get_absolute_matrix("obj").should_be_called().will_return("matrix")
ifc.run("geometry.edit_object_placement", product="element", matrix="matrix").should_be_called()
geometry.record_object_position("obj").should_be_called()
def test_run(self, ifc, geometry, surveyor):
self.predict(ifc, geometry, surveyor)