Files
test2/source/blender/blenkernel/intern
Philipp Oeser 97712b018d Fix T90026: attributes added in editmode are lost on modeswitch
When exiting editmode, customdata [and thus attributes] are copied from
**BMesh** to **Mesh** (in `BM_mesh_bm_to_me`).
When adding attributes, these were always added via
`CustomData_add_layer_named` only.
Instead (if we are in mesh editmode), we need to go through
`BM_data_layer_add_named` to properly update the **BMesh** (see
`update_data_blocks`) so we have stuff available to copy back to
**Mesh** when exiting editmode.
Same is done for removing (also going through BMesh).

This is now done, DomainInfo is updated to point to BMesh (instead of
Mesh) customdata when in editmode.

Maniphest Tasks: T90026

Differential Revision: https://developer.blender.org/D11998
2021-07-22 17:57:46 +02:00
..
2021-07-16 11:45:51 +10:00
2021-07-13 20:51:24 +10:00
2021-06-28 13:16:32 +02:00
2021-05-25 17:16:54 +02:00
2021-07-07 13:42:46 +10:00
2020-11-06 12:32:54 +11:00
2021-07-05 15:54:57 +10:00
2021-07-07 13:42:46 +10:00
2021-06-28 13:16:32 +02:00
2021-07-20 11:12:24 +10:00
2021-03-21 14:00:40 +11:00
2021-06-18 14:41:24 +10:00
2021-07-08 13:31:38 +10:00
2021-07-05 15:54:57 +10:00
2021-06-16 16:14:02 +02:00
2021-07-07 13:42:46 +10:00
2021-06-22 10:54:50 -07:00
2021-07-05 15:54:57 +10:00
2021-03-07 17:03:20 +01:00
2020-10-11 13:00:49 -04:00