Seems like we can use `object_materials_supported_poll` (similar to other material operators) that already checks the right things. Pull Request: https://projects.blender.org/blender/blender/pulls/128996
Seems like we can use `object_materials_supported_poll` (similar to other material operators) that already checks the right things. Pull Request: https://projects.blender.org/blender/blender/pulls/128996