Files
test2/source/blender/blenkernel
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-08-26 12:39:45 +10:00
2021-09-12 19:51:16 +10:00
2021-12-08 13:31:19 +11:00
2022-01-02 20:48:59 -08:00
2021-12-16 11:41:46 +11:00
2022-01-02 20:48:59 -08:00
2021-12-16 11:41:46 +11:00