mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-06 07:51:47 +00:00
See #7537. Quick fix for regression in editing slabs. Needs further investigation.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user