replace project_settings with get_project_settings

This commit is contained in:
Milan Kolar 2020-12-03 16:04:52 +01:00
parent c5d6a44dc5
commit 92d751d94d
21 changed files with 158 additions and 44 deletions

View file

@ -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')