Blender Git Commit Log

Git Commits -> Revision bd0a9f1

August 12, 2021, 07:55 (GMT)
adaptive_cloth: Mesh: msgpack: store the type of Mesh on first line

This allows the code that deserializes it to decide which type of Mesh
structure to deserialize to. Since msgpack is compact, it doesn't
store information about the size (explicitly or implicitly) of the
element, this means that deserialization can lead to weird outputs if
wrong data structures are used.

Commit Details:

Full Hash: bd0a9f194301392f02eb553133f0167d6b6caac2
Parent Commit: aa7fceb
Lines Changed: +131, -63

2 Modified Paths:

/source/blender/blenkernel/BKE_cloth_remesh.hh (+72, -63) (Diff)
/source/blender/blenkernel/intern/cloth_remesh.cc (+59, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021