Update client/ayon_core/tools/sceneinventory/model.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
sjt-rvx 2025-07-02 10:16:42 +00:00 committed by GitHub
parent 06bc6baae3
commit b156f18f07
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -144,9 +144,13 @@ class InventoryModel(QtGui.QStandardItemModel):
)
formatting_data = {
"product": repre_info.product_name,
"productType": repre_info.product_type,
"representation": repre_info.representation_name
"product": {
"name": repre_info.product_name,
"type": repre_info.product_type,
},
"representation": {
"name": repre_info.representation_name,
}
}
formatting_data.update(folder_data)
return formatting_data