Files
test2/source/blender/blenkernel/intern
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-11-25 11:19:28 +01:00
2020-12-19 07:25:01 +01:00
2020-12-16 17:08:19 +01:00
2020-11-06 12:32:54 +11:00
2021-01-15 12:36:03 -07:00
2020-11-06 12:32:54 +11:00
2021-01-19 18:58:35 +01:00
2020-10-14 15:12:40 +11:00
2021-01-19 18:58:35 +01:00
2020-12-15 12:34:25 +11:00
2021-01-05 17:04:02 +01:00
2020-09-09 16:36:57 +02:00
2020-12-19 07:25:01 +01:00
2020-12-19 07:25:01 +01:00
2020-12-16 21:03:42 -07:00
2021-01-05 17:04:02 +01:00
2020-11-20 11:39:22 +11:00
2020-11-06 12:32:54 +11:00
2021-01-13 13:21:29 +11:00
2020-08-08 13:38:00 +10:00
2021-01-19 18:58:35 +01:00
2020-10-22 17:08:37 -04:00
2020-12-15 12:01:45 +01:00
2020-12-19 07:25:01 +01:00
2020-10-11 13:00:49 -04:00
2020-12-07 13:25:53 +11:00
2020-11-06 12:50:03 -06:00