Files
test/source/blender/blenkernel
Falk David 97d2dbb24e Fix #112068: Crash when loading converted curves
In 2788fa915b the `CurvesGeometry::blend_write` and `CurvesGeometry::blend_read` functions were added. Unfortunately, the commit also altered the writing logic and introduced a bug where loading a file with a converted `Curves` object would crash. See https://projects.blender.org/blender/blender/issues/112068.

This PR fixes the issue by making sure that `CustomData_blend_write_prepare` is called before `BKE_id_blend_write`, which is the root cause of the crash that happens on load.

The  `CurvesGeometry::blend_write` function is split into  `CurvesGeometry::blend_write_prepare` and `CurvesGeometry::blend_write`.

Pull Request: https://projects.blender.org/blender/blender/pulls/112280
2023-09-12 16:02:04 +02:00
..
2023-08-30 22:36:36 +02:00
2023-09-05 11:04:27 +10:00
2023-09-12 12:07:15 +02:00
2023-08-25 09:40:42 +10:00
2023-07-04 17:03:02 +02:00
2023-07-24 22:06:55 +02:00
2023-08-25 09:40:42 +10:00
2023-09-05 11:04:27 +10:00
2023-08-18 08:56:12 +10:00
2023-09-06 18:16:45 +02:00
2023-08-30 22:36:36 +02:00