Files
test/source
YimingWu 8a0a9ec0c3 Fix #108591: Handle null material adding paint slot
When adding a texture paint slot to an object, the object could have no
material, this patch handles that by checking the material first in
`default_paint_slot_color_get`, if material is null, then it will return a
fallback default color so the operator can proceed normally.

Pull Request: https://projects.blender.org/blender/blender/pulls/108592
2023-06-06 04:13:01 +02:00
..