Blender Git Commit Log

Git Commits -> Revision 4d7b919

July 9, 2021, 05:58 (GMT)
adaptive_cloth: Mesh: write to MeshIO: allow gaps in the Arena(s)

There can be gaps in the `Arena`s introduced due to removing elements in the middle of the `Arena`. Now this can lead to wrong indexing when writing the positions and the uvs. For this, create a `Map` between the element's arena index and it's true index in the vectors created for them.

Commit Details:

Full Hash: 4d7b9197037bab7848b0c1763be6e9e855a9ff89
Parent Commit: a33623b
Lines Changed: +35, -14

2 Modified Paths:

/source/blender/blenkernel/BKE_cloth_remesh.hh (+28, -14) (Diff)
/source/blender/blenlib/BLI_generational_arena.hh (+7, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021