Files
test2/source/blender/blenkernel
Hans Goudey c34c6d3e25 Mesh: Move runtime data out of DNA
This commit replaces the `Mesh_Runtime` struct embedded in `Mesh`
with `blender::bke::MeshRuntime`. This has quite a few benefits:
- It's possible to use C++ types like `std::mutex`, `Array`,
  `BitVector`, etc. more easily
- Meshes saved in files are slightly smaller
- Copying and writing meshes is a bit more obvious without
  clearing of runtime data, etc.

The first is by far the most important. It will allows us to avoid a
bunch of manual memory management boilerplate that is error-prone and
annoying. It should also simplify future CoW improvements for runtime
data.

This patch doesn't change anything besides changing `mesh.runtime.data`
to `mesh.runtime->data`. The cleanups above will happen separately.

Differential Revision: https://developer.blender.org/D16180
2022-10-12 20:55:57 -05:00
..
2022-10-12 20:55:57 -05:00
2022-02-11 10:28:59 +01:00
2022-07-08 09:48:49 +10:00
2022-09-15 19:13:13 +02:00
2022-05-22 13:05:12 +02:00
2022-02-11 09:14:36 +11:00
2022-09-29 16:43:09 -05:00
2022-05-06 13:33:23 +02:00
2022-06-03 15:08:11 +10:00
2022-09-16 18:14:33 +10:00
2022-06-03 15:08:11 +10:00
2022-09-15 19:13:13 +02:00
2022-09-16 18:14:33 +10:00
2022-10-05 13:48:01 -05:00
2022-02-11 09:14:36 +11:00
2022-09-16 18:14:33 +10:00
2022-09-21 12:00:01 +10:00
2022-09-16 18:14:33 +10:00
2022-10-05 13:48:01 -05:00
2022-10-06 10:49:24 -05:00
2022-10-06 10:49:24 -05:00
2022-09-19 14:52:27 +10:00
2022-09-07 15:14:49 +10:00
2022-08-26 15:58:32 +10:00
2022-10-06 10:49:24 -05:00
2022-08-30 16:22:49 +10:00