fix mistake in de80e416c

This commit is contained in:
Andrej730
2024-06-10 19:30:49 +05:00
parent 293cee414a
commit ab31f9ae85
3 changed files with 0 additions and 3 deletions
@@ -1019,7 +1019,6 @@ class AddBoundary(bpy.types.Operator, tool.Ifc.Operator):
# geometry = ifcopenshell.geom.create_shape(settings, body)
shape = ifcopenshell.geom.create_shape(settings, element)
mat = Matrix(ifcopenshell.util.shape.get_shape_matrix(shape))
mat.translation = (0, 0, 0)
verts = [space_matrix_i @ mat @ Vector(v) for v in ifcopenshell.util.shape.get_vertices(shape.geometry)]
faces = ifcopenshell.util.shape.get_faces(shape.geometry)
polygons = []
@@ -1471,7 +1471,6 @@ class LoadLinkedProject(bpy.types.Operator):
material_ids = shape.geometry.material_ids
mat = ifcopenshell.util.shape.get_shape_matrix(shape)
mat[:3, 3] = (0, 0, 0)
mesh = self.meshes.get(shape.geometry.id, None)
if not mesh:
@@ -696,7 +696,6 @@ class Drawing(blenderbim.core.tool.Drawing):
tool.Ifc.link(drawing, obj)
mat = Matrix(ifcopenshell.util.shape.get_shape_matrix(shape))
mat.translation = (0, 0, 0)
obj.matrix_world = mat
if cls.get_drawing_target_view(drawing) == "REFLECTED_PLAN_VIEW":