-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Houdini: Fix CreateHDA for Houdini 20+ #698
Houdini: Fix CreateHDA for Houdini 20+ #698
Conversation
…r recent Houdini versions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, it works without issues but I noticed something weird.
HDAs published from Houdini 20.0 don't keep their submenu.
In my screenshot. the HDA includes uppercase S
was published from Houdini 19.5.
Here's a demo.
import hou
from assettools import setTabSubMenu
hda_node = hou.node('/obj/mocoOsphere')
hda_def = hda_node.type().definition()
setTabSubMenu(hda_def, "AYON/{}".format("Robo"))
2024-06-25.15-49-55.mp4
Could you show what it looks like when published from Houdini 20? |
I update my comment above and added a quick screen record. |
Very likely:
|
😮😮😮 |
@fabiaserra could you let us know what do you think about setting HDA's submenu location ? For context, For reference, |
I'm not sure what do you want me to check? |
…fix/houdini_create_hda_houdini20
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for merging - be aware that this PR did not have a version bump which it should have. If we merge the USD one now quickly we should be fine - then it'd just contain both in one version bump. |
Changelog Description
Fix CreateHDA import, refactor
setToolSubmenu
->setTabSubMenu
for recent Houdini versionsAdditional info
Fixes #697
Testing notes: