mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Revert "Fix plugins returning empty list"
This reverts commit 5ccdfc258a.
This commit is contained in:
parent
5ccdfc258a
commit
0c5777910a
1 changed files with 0 additions and 4 deletions
|
|
@ -780,8 +780,6 @@ class InstanceModel(QtGui.QStandardItemModel):
|
|||
|
||||
def update_with_result(self, result):
|
||||
instance = result["instance"]
|
||||
if isinstance(instance, list):
|
||||
instance = instance.pop() if instance else None
|
||||
if instance is None:
|
||||
instance_id = self.controller.context.id
|
||||
else:
|
||||
|
|
@ -978,8 +976,6 @@ class TerminalModel(QtGui.QStandardItemModel):
|
|||
prepared_records = []
|
||||
instance_name = None
|
||||
instance = result["instance"]
|
||||
if isinstance(instance, list):
|
||||
instance = instance.pop() if instance else None
|
||||
if instance is not None:
|
||||
instance_name = instance.data["name"]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue