See #7537. Quick fix for regression in editing slabs. Needs further investigation.

This commit is contained in:
Dion Moult
2026-01-25 10:43:27 +11:00
parent 0d8c4c7795
commit 884661a454
@@ -744,6 +744,8 @@ class EnableEditingExtrusionProfile(bpy.types.Operator, tool.Ifc.Operator):
usage_type = tool.Model.get_usage_type(element)
# TODO: review #7537 properly, this is a quick fix but something doesn't seem right.
original_rotation_x = 0
if extrusion.Position:
position = Matrix(ifcopenshell.util.placement.get_axis2placement(extrusion.Position).tolist())
position.translation *= self.unit_scale