mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
Fix #2585. Bug where geometry could randomly get corrupted.
This commit is contained in:
@@ -265,7 +265,8 @@ class Helper:
|
||||
|
||||
inner_loops.remove(outer_loop)
|
||||
|
||||
points = [v.co for v in bm.verts]
|
||||
# Copy vectors to prevent random data mangling after bmesh is freed.
|
||||
points = [Vector(list(v.co)) for v in bm.verts]
|
||||
|
||||
bm.to_mesh(mesh)
|
||||
mesh.update()
|
||||
|
||||
Reference in New Issue
Block a user