I've recently discovered the amazingness that is `hou.qt.ParmDialog` which does a great job of solving the common issue of needing to promote all parameters from a contained node to the top of an HDA interface.
One thing I have noticed though is that the widget hard crashes if anything alters the parameter template being displayed. For example, if I have a button on my promoted node that adds extra parameters to the node via `node.setParameterTemplateGroup(ptg)` then pressing that button will result in an instant crash of Houdini.
I'm wondering, is there a way to prevent this? Like perhaps pausing the Qt widget and then triggering an update after the node's parameter interface has been rebuilt?
I'm using Houdini 19.5.493 on Windows with PySide2 if that helps at all.
Using hou.qt.ParmDialog with dynamic parameters
1104 0 1-
- Ashen
- Member
- 78 posts
- Joined: May 2018
- Offline
-
- Quick Links
