mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 23:00:53 +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)
|
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)
|
bm.to_mesh(mesh)
|
||||||
mesh.update()
|
mesh.update()
|
||||||
|
|||||||
Reference in New Issue
Block a user