Files
test/source/blender/blenkernel
Jacques Lucke dc8b31af57 Fix T84935: boolean custom data layers not saved correctly
The issue was that boolean custom data layers were not written to files,
because the dna struct name `bool` does not exist. Adding a struct that
just contains a `bool/uint8_t` does not seem to be possible, it looks like
the minimum dna struct size is 4 bytes.

The proposed solution has two parts:

1. Write the custom data layer using `BLO_write_raw` instead of
   `BLO_write_struct_array_by_name`.
2. When loading a file, reinitialize any custom data layer that was
   not saved correctly (this is just a fix for existing files).

Differential Revision: https://developer.blender.org/D10194
2021-01-26 12:05:40 +01:00
..
2020-12-16 16:26:23 +11:00
2021-01-04 17:38:11 +11:00
2020-11-06 12:32:54 +11:00
2020-12-16 16:26:23 +11:00
2020-12-16 16:26:23 +11:00
2021-01-13 13:21:29 +11:00
2020-10-01 14:29:45 +02:00
2020-12-16 16:26:23 +11:00
2020-12-16 16:26:23 +11:00
2020-12-15 17:19:55 +01:00
2020-11-03 23:59:24 +11:00
2020-12-15 12:01:45 +01:00
2020-12-16 16:26:23 +11:00
2021-01-19 18:58:35 +01:00
2020-12-16 16:26:23 +11:00
2020-12-16 16:26:23 +11:00
2020-12-16 16:26:23 +11:00
2020-10-19 09:11:00 -07:00
2021-01-20 16:08:52 +11:00