mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 10:23:41 +00:00
Fix broken centerline alignment hotkey after e8f66ab
Ping @trhyder just in case
This commit is contained in:
@@ -959,9 +959,9 @@ class Hotkey(bpy.types.Operator, tool.Ifc.Operator):
|
|||||||
return
|
return
|
||||||
if self.active_material_usage == "LAYER2":
|
if self.active_material_usage == "LAYER2":
|
||||||
if bpy.ops.bim.align_wall.poll():
|
if bpy.ops.bim.align_wall.poll():
|
||||||
bpy.ops.bim.align_wall(align_type="Centreline")
|
bpy.ops.bim.align_wall(align_type="CENTERLINE")
|
||||||
else:
|
else:
|
||||||
bpy.ops.bim.align_product(align_type="Centreline")
|
bpy.ops.bim.align_product(align_type="CENTERLINE")
|
||||||
|
|
||||||
def hotkey_S_E(self):
|
def hotkey_S_E(self):
|
||||||
if not bpy.context.selected_objects:
|
if not bpy.context.selected_objects:
|
||||||
|
|||||||
Reference in New Issue
Block a user