Files
test/source
Philipp Oeser 85bf6814c7 Fix #116325: crash assigning non-valid material.paint_active_slot
Similar to 64e955f522 (but extended a bit).

Fix by preventing access of non-existent (or out of bounds)
`TexPaintSlot`.

In the future, we should probably even prevent it further by using
`RNA_def_property_int_funcs` (but that is for a later commit).

Pull Request: https://projects.blender.org/blender/blender/pulls/116345
2023-12-19 15:46:03 +01:00
..
2023-12-19 10:17:50 +11:00