📋 Metadata
- Author: roaoao
- Date: 2020-09-03 21:44:41
- Type:
answer - Reply to: post_03557
- Replies (1): post_03559
💬 Content
Stefakapapy:
For example enabling the pie if object is MESH or CURVE ?
I tried
return C.active_object.type == 'MESH' or C.active_object.type == 'CURVE'
And also
return C.active_object.type in ['MESH','CURVE']
Both scripts are ok. Use them with Object Mode keymap for example.
Stefakapapy:
is it possible to display a single text.
Yes, here is the code for Custom tab:
L.label(text=slot, icon=icon, icon_value=icon_value)
❤️ 2 likes