AYON: General fixes and updates (#4975)

* fix color conversion of maya load colors

* this seems to have been accidentally switched before, if there are no versions, return nothing, if there are, return something

* maya failed to run the userSetup due to the variable having been changed to settings

* fix representation fields conversion

* fix missing legacy io

* fix tools env conversion

* Updated AYON python api

---------

Co-authored-by: Sveinbjorn J. Tryggvason <sveinbjorn@rvx.is>
This commit is contained in:
Jakub Trllo 2023-05-17 12:46:57 +02:00 committed by Jakub Trllo
parent 1ff18dc4f3
commit c360d0b28d
8 changed files with 35 additions and 20 deletions

View file

@ -16,7 +16,7 @@ project_name = get_current_project_name()
settings = get_project_settings(project_name)
# Loading plugins explicitly.
explicit_plugins_loading = project_settings["maya"]["explicit_plugins_loading"]
explicit_plugins_loading = settings["maya"]["explicit_plugins_loading"]
if explicit_plugins_loading["enabled"]:
def _explicit_load_plugins():
for plugin in explicit_plugins_loading["plugins_to_load"]: