From 75fe548bb0fa399a4f9c69f6bb4265e8686aaedc Mon Sep 17 00:00:00 2001 From: Bruno Postle Date: Sat, 22 Mar 2025 10:17:41 +0000 Subject: [PATCH] Remove zombie method reintroduced in 5830573 edit_container_attributes() was deleted in e79a85a, but somehow got dragged back in --- src/bonsai/bonsai/tool/spatial.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/bonsai/bonsai/tool/spatial.py b/src/bonsai/bonsai/tool/spatial.py index 181a493c7c..93d0478f4a 100644 --- a/src/bonsai/bonsai/tool/spatial.py +++ b/src/bonsai/bonsai/tool/spatial.py @@ -546,15 +546,6 @@ class Spatial(bonsai.core.tool.Spatial): if active_object: bpy.context.view_layer.objects.active = active_object - @classmethod - def edit_container_attributes(cls, entity: ifcopenshell.entity_instance) -> None: - # TODO - obj = tool.Ifc.get_object(entity) - bonsai.core.geometry.edit_object_placement(tool.Ifc, tool.Geometry, tool.Surveyor, obj=obj) - name = bpy.context.scene.BIMSpatialDecompositionProperties.container_name - if name != entity.Name: - cls.edit_container_name(entity, name) - @classmethod def edit_container_name(cls, container: ifcopenshell.entity_instance, name: str) -> None: tool.Ifc.run("attribute.edit_attributes", product=container, attributes={"Name": name})