fix: remove parent=mainQtWindow — makes widget a child, not a standalone window (causes black-bar corruption)
This commit is contained in:
@@ -149,8 +149,9 @@ class HermesBridgeWindow(QtWidgets.QWidget):
|
||||
QtCore.QTimer.singleShot(2000,
|
||||
lambda: self.btn_copy.setText("Copy"))
|
||||
|
||||
# ── Per SideFX docs: parent to main window to keep alive ──
|
||||
win = HermesBridgeWindow(hou.ui.mainQtWindow())
|
||||
# ── Store on hou.session to prevent GC (per SideFX docs) ──
|
||||
win = HermesBridgeWindow()
|
||||
hou.session.hermes_bridge_win = win
|
||||
win.show()
|
||||
]]></script>
|
||||
</tool>
|
||||
|
||||
Reference in New Issue
Block a user