From 0523f869ea633fb9561adbd4fe18d6e4057a19be Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Wed, 18 Aug 2021 10:57:55 +0200 Subject: [PATCH] GlobalAttrsWidget is storing current instances --- openpype/tools/new_publisher/widgets/widgets.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openpype/tools/new_publisher/widgets/widgets.py b/openpype/tools/new_publisher/widgets/widgets.py index 4038ad43c2..2a538b8cee 100644 --- a/openpype/tools/new_publisher/widgets/widgets.py +++ b/openpype/tools/new_publisher/widgets/widgets.py @@ -477,6 +477,7 @@ class GlobalAttrsWidget(QtWidgets.QWidget): super(GlobalAttrsWidget, self).__init__(parent) self.controller = controller + self._current_instances = [] variant_input = VariantInputWidget(self) asset_value_widget = AssetsTreeComboBox(controller, self) @@ -564,6 +565,8 @@ class GlobalAttrsWidget(QtWidgets.QWidget): self.cancel_btn.setEnabled(False) self.submit_btn.setEnabled(False) + self._current_instances = instances + asset_names = set() task_names = set() variants = set()