I'm having a difficulty trying to add a button to my add-on Tools menu for picking a material. Currently I'm doing it by bpy.props.StringProperty() so the user has to write the correct material.
Is it possible and how would I make a material picker box like this one? (from Render Layers menu, material override)
I don't even know what is the name of this so excuse me if this is a duplicate question.
P.S. I would also like to have an object picker, but I'm assuming that once I figure out how to make the material, the object is just next door.
Thank you in advance!
