mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
asset creator tool uses settings (hidden for now)
This commit is contained in:
parent
d8b94cca5c
commit
01c1ae8911
2 changed files with 41 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ try:
|
|||
import ftrack_api_old as ftrack_api
|
||||
except Exception:
|
||||
import ftrack_api
|
||||
from pype.api import config
|
||||
from pype.api import get_current_project_settings
|
||||
from pype import lib as pypelib
|
||||
from avalon.vendor.Qt import QtWidgets, QtCore
|
||||
from avalon import io, api, style, schema
|
||||
|
|
@ -196,7 +196,7 @@ class Window(QtWidgets.QDialog):
|
|||
ft_project = session.query(project_query).one()
|
||||
schema_name = ft_project['project_schema']['name']
|
||||
# Load config
|
||||
schemas_items = config.get_presets().get('ftrack', {}).get(
|
||||
schemas_items = get_current_project_settings().get('ftrack', {}).get(
|
||||
'project_schemas', {}
|
||||
)
|
||||
# Get info if it is silo project
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue