mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
assets widget can collect data
This commit is contained in:
parent
ffa7f7b5db
commit
9a827fbaaa
1 changed files with 7 additions and 0 deletions
|
|
@ -178,6 +178,13 @@ class AssetWidget(QtWidgets.QWidget):
|
|||
def db(self):
|
||||
return self.parent_widget.db
|
||||
|
||||
def collect_data(self):
|
||||
data = {
|
||||
'project': self.combo_projects.currentText(),
|
||||
'asset': get_active_asset
|
||||
}
|
||||
return data
|
||||
|
||||
def _set_projects(self):
|
||||
projects = list()
|
||||
for project in self.db.projects():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue