I am trying to add a custom menu entry in content browser, sources panel & outliner.
Requirement is to enable/disable(grey out) menu entry based on path of the folder/asset.
On Right click I am able to get the path of selected folder/asset in assets view of content browser but not able to get same in sources panel folders.
I have tried both in python and c++, did not find any api’s related to sources panel.
Any help can be highly appreciated