📋 Metadata
- Author: insideitall
- Date: 2021-09-13 19:16:27
- Type:
question - Replies (1): post_04063
💬 Content
I’m trying to set up contextual pie menus, so i have one hotkey to rule them all.
All is working perfectly, Lights, Meshes, Empties.
I’d love to have a context menu if i have nothing selected tho. Previously i’ve been using:
return not C.selected_objects
but it still opens up the objects pie menu which is:
return C.active_object and C.active_object.type == 'MESH'
I’m guessing its because its using the active object?, which AFAIK you can’t deselect. anyone have some alternatives i can try?