mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
use 'folderPath' in create widget instead of asset
This commit is contained in:
parent
58fd1aa8e2
commit
59c8e05ffb
1 changed files with 6 additions and 1 deletions
|
|
@ -816,8 +816,13 @@ class CreateWidget(QtWidgets.QWidget):
|
|||
|
||||
# Where to define these data?
|
||||
# - what data show be stored?
|
||||
if AYON_SERVER_ENABLED:
|
||||
asset_key = "folderPath"
|
||||
else:
|
||||
asset_key = "asset"
|
||||
|
||||
instance_data = {
|
||||
"asset": asset_name,
|
||||
asset_key: asset_name,
|
||||
"task": task_name,
|
||||
"variant": variant,
|
||||
"family": family
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue