Merge branch 'release/3.15.x' into enhancement/tray_publisher_is_not_experimental

This commit is contained in:
Jakub Trllo 2022-11-11 16:08:46 +01:00
commit 5cca211c67
80 changed files with 1641 additions and 1213 deletions

View file

@ -88,7 +88,10 @@ class ExperimentalTools:
"publisher",
"New publisher",
"Combined creation and publishing into one tool.",
self._show_publisher
self._show_publisher,
hosts_filter=["blender", "maya", "nuke", "celaction", "flame",
"fusion", "harmony", "hiero", "resolve",
"tvpaint", "unreal"]
)
]

View file

@ -27,6 +27,9 @@ class PluginLoadReportModel(QtGui.QStandardItemModel):
parent = self.invisibleRootItem()
parent.removeRows(0, parent.rowCount())
if report is None:
return
new_items = []
new_items_by_filepath = {}
for filepath in report.crashed_plugin_paths.keys():

View file

@ -367,6 +367,7 @@ class LoadedFilesView(QtWidgets.QTreeView):
def _on_rows_inserted(self):
header = self.header()
header.resizeSections(header.ResizeToContents)
self._update_remove_btn()
def resizeEvent(self, event):
super(LoadedFilesView, self).resizeEvent(event)

View file

@ -361,6 +361,13 @@ class PublisherWindow(QtWidgets.QDialog):
super(PublisherWindow, self).resizeEvent(event)
self._update_publish_frame_rect()
def keyPressEvent(self, event):
# Ignore escape button to close window
if event.key() == QtCore.Qt.Key_Escape:
event.accept()
return
super(PublisherWindow, self).keyPressEvent(event)
def _on_overlay_message(self, event):
self._overlay_object.add_message(
event["message"],