fix: remove parent=mainQtWindow — makes widget a child, not a standalone window (causes black-bar corruption)

This commit is contained in:
Hermes
2026-07-12 13:55:48 +00:00
parent b4bc78641a
commit 46338cf8c4
+3 -2
View File
@@ -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>