Fix #2585. Bug where geometry could randomly get corrupted.

This commit is contained in:
Dion Moult
2023-01-31 10:53:51 +11:00
parent 9acd2043d7
commit 9f37f73e52
@@ -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()