mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 14:31:39 +00:00
small fix 2aeb87b5f
This commit is contained in:
@@ -1589,7 +1589,7 @@ class LoadLinkedProject(bpy.types.Operator):
|
|||||||
vs = np.hstack((vs, np.ones((len(vs), 1))))
|
vs = np.hstack((vs, np.ones((len(vs), 1))))
|
||||||
vs = (np.asmatrix(matrix) * np.asmatrix(vs).T).T.A
|
vs = (np.asmatrix(matrix) * np.asmatrix(vs).T).T.A
|
||||||
vs = vs[:, :3].flatten()
|
vs = vs[:, :3].flatten()
|
||||||
fs = ifcopenshell.util.shape.get_faces(shape.geometry)
|
fs = ifcopenshell.util.shape.get_faces(shape.geometry).ravel()
|
||||||
chunked_verts.append(vs)
|
chunked_verts.append(vs)
|
||||||
chunked_faces.append(fs + offset)
|
chunked_faces.append(fs + offset)
|
||||||
offset += len(vs) // 3
|
offset += len(vs) // 3
|
||||||
|
|||||||
Reference in New Issue
Block a user