Forgot to remove these mentions

Still need to update tests
This commit is contained in:
Dion Moult
2025-01-29 21:32:26 +11:00
parent c2b00e09cf
commit a9abf1e993
2 changed files with 0 additions and 11 deletions
@@ -535,8 +535,6 @@ class UpdateOpeningsFocus(Operator):
if opening.obj:
openings.add(opening.obj)
opening_element = tool.Ifc.get_entity(opening.obj)
if opening_element is None: # Most likely an opening created with bim.add_potential_opening
continue
building_element = opening_element.VoidsElements[0].RelatingBuildingElement
building_objects.add(tool.Ifc.get_object(building_element))
@@ -843,10 +843,6 @@ class EditObjectUI:
op_text = "Add Void" if ui_context != "TOOL_HEADER" else ""
op_icon = custom_icon_previews["ADD_VOID"].icon_id
row = cls.layout.row(align=True) if ui_context != "TOOL_HEADER" else row
row.operator("bim.add_potential_opening", text=op_text, icon_value=op_icon)
if ui_context != "TOOL_HEADER":
row.label(text="", icon="EVENT_SHIFT")
row.label(text="", icon="EVENT_O")
if AuthoringData.data["is_voidable_element"]:
if AuthoringData.data["has_visible_openings"]:
@@ -1259,11 +1255,6 @@ class Hotkey(bpy.types.Operator, tool.Ifc.Operator):
def hotkey_S_O(self):
if len(bpy.context.selected_objects) == 2:
bpy.ops.bim.add_opening()
else:
bpy.ops.bim.add_potential_opening(x=self.x, y=self.y, z=self.z)
self.props.x = self.x
self.props.y = self.y
self.props.z = self.z
def hotkey_S_L(self):
if AuthoringData.data["active_class"] in ("IfcOpeningElement",):