mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-12 06:32:09 +00:00
Delete edit text from BIM Tool since it's already in Annotation Tool
This commit is contained in:
@@ -255,9 +255,6 @@ class BimToolUI:
|
|||||||
row.label(text="", icon=f"EVENT_TAB")
|
row.label(text="", icon=f"EVENT_TAB")
|
||||||
row.operator("bim.enable_editing_roof_path", text="Edit Roof Path")
|
row.operator("bim.enable_editing_roof_path", text="Edit Roof Path")
|
||||||
|
|
||||||
elif DecoratorData.get_ifc_text_data(bpy.context.object):
|
|
||||||
add_layout_hotkey_operator(cls.layout, "Edit Text", "S_E", "")
|
|
||||||
|
|
||||||
row = cls.layout.row(align=True)
|
row = cls.layout.row(align=True)
|
||||||
row.label(text="", icon="EVENT_SHIFT")
|
row.label(text="", icon="EVENT_SHIFT")
|
||||||
row.label(text="", icon="EVENT_O")
|
row.label(text="", icon="EVENT_O")
|
||||||
@@ -496,10 +493,6 @@ class Hotkey(bpy.types.Operator, tool.Ifc.Operator):
|
|||||||
[o.select_set(False) for o in selected_usages.get("LAYER2", [])]
|
[o.select_set(False) for o in selected_usages.get("LAYER2", [])]
|
||||||
bpy.ops.bim.extend_profile(join_type="T")
|
bpy.ops.bim.extend_profile(join_type="T")
|
||||||
|
|
||||||
elif DecoratorData.get_ifc_text_data(bpy.context.object):
|
|
||||||
bpy.context.object.select_set(True)
|
|
||||||
bpy.ops.bim.edit_text_popup()
|
|
||||||
|
|
||||||
def hotkey_S_F(self):
|
def hotkey_S_F(self):
|
||||||
if not bpy.context.selected_objects:
|
if not bpy.context.selected_objects:
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user