mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
replace project_settings with get_project_settings
This commit is contained in:
parent
c5d6a44dc5
commit
92d751d94d
21 changed files with 158 additions and 44 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import os
|
||||
from pype.api import project_settings
|
||||
from pype.api import get_project_settings
|
||||
import pype.hosts.maya.lib as mlib
|
||||
from maya import cmds
|
||||
|
||||
|
|
@ -7,7 +7,7 @@ from maya import cmds
|
|||
print("starting PYPE usersetup")
|
||||
|
||||
# build a shelf
|
||||
settings = project_settings(os.environ['AVALON_PROJECT'])
|
||||
settings = get_project_settings(os.environ['AVALON_PROJECT'])
|
||||
shelf_preset = settings['maya'].get('project_shelf')
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue