📋 Metadata

💬 Content

anminmakura:

How do I configure poll_cmd to “Missing Material” an object in active selection?

Try this poll method:

return len(C.object.material_slots) == 0 or [ms for ms in C.object.material_slots if not ms.material]

❤️ 3 likes


🔗 View on Blender Artists