mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
do not query asset document
This commit is contained in:
parent
59b8fceee9
commit
d1d7f3e48f
1 changed files with 0 additions and 5 deletions
|
|
@ -55,10 +55,6 @@ class NameWindow(QtWidgets.QDialog):
|
|||
project_doc = io.find_one({
|
||||
"type": "project"
|
||||
})
|
||||
asset_doc = io.find_one({
|
||||
"type": "asset",
|
||||
"name": asset_name
|
||||
})
|
||||
self.data = {
|
||||
"project": {
|
||||
"name": project_doc["name"],
|
||||
|
|
@ -77,7 +73,6 @@ class NameWindow(QtWidgets.QDialog):
|
|||
self.anatomy = anatomy
|
||||
self.template = anatomy.templates[template_key]["file"]
|
||||
self.template_key = template_key
|
||||
self.asset_doc = asset_doc
|
||||
|
||||
# Btns widget
|
||||
btns_widget = QtWidgets.QWidget(self)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue