Skip to content

Registered commands in the engine as entries in Houdinis TAB Menu#40

Open
oscar-juarez wants to merge 6 commits intoshotgunsoftware:masterfrom
oscar-juarez:cmds_in_tab
Open

Registered commands in the engine as entries in Houdinis TAB Menu#40
oscar-juarez wants to merge 6 commits intoshotgunsoftware:masterfrom
oscar-juarez:cmds_in_tab

Conversation

@oscar-juarez
Copy link

Hello Shotgun team,

The Shotgun dynamic menu on Houdini just shows a long list of registered commands on the engine, without the possibility to organize them in sub-menus like in other engines. This makes it confusing for the user.

Shelf tools in Houdini appear also as TAB menu entries, and can be organized in sub menus by setting some properties while creating the tools. So the proposed changes add these properties to the shelf creation logic.

These changes also support creating sub-menus for commands registered with the group property.

Thanks in advance.

if cat in viewer_categories],
network_categories=[hou.nodeTypeCategories()[cat] for cat in hou.nodeTypeCategories().keys()
if cat in network_categories],
locations=map(lambda x : "Shotgun" + x, submenu)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whitespace before ':'

@tannazie tannazie added the Logged Logged in Jira label Feb 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Logged Logged in Jira

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants