Files
test2/source/blender/blenkernel/intern
Philipp Oeser f7018f7b06 Fix T94544: crash removing image used as camera background via python
Since 2.8, background images are tied to cameras (in 2.79 these were
tied to a View3D I think).
Code in `BKE_library_id_can_use_idtype` wasnt taking this relation
between `Camera` and `Image` into account, thus leading to ID deletion/
unlinking not working properly -- in particular `libblock_remap_data`
not doing its thing (and leaving the camera as a user of the image),
then things went downhill from there...

Now make the "Camera-can-use-an-Image" relation clear in
`BKE_library_id_can_use_idtype`.

Maniphest Tasks: T94544

Differential Revision: https://developer.blender.org/D13722
2022-01-04 12:13:05 +01:00
..
2021-11-16 22:29:50 +01:00
2021-12-11 22:29:53 +05:30
2021-09-24 11:31:23 +10:00
2022-01-02 20:48:59 -08:00
2021-12-07 18:15:15 +11:00
2022-01-02 20:48:59 -08:00
2022-01-02 20:48:59 -08:00
2021-11-29 14:22:38 +01:00
2021-06-18 14:41:24 +10:00
2021-11-29 14:22:38 +01:00
2021-11-29 14:22:38 +01:00
2021-12-07 18:15:15 +11:00
2021-12-13 17:09:22 +01:00
2021-11-29 14:22:38 +01:00
2021-11-29 14:22:38 +01:00
2021-11-29 14:22:38 +01:00