mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
removed deadline conversion
This commit is contained in:
parent
68f7ce9e02
commit
fe2909f2d8
1 changed files with 1 additions and 17 deletions
|
|
@ -62,22 +62,6 @@ def _convert_general(ayon_settings, output, default_settings):
|
|||
}
|
||||
|
||||
|
||||
def _convert_deadline_system_settings(
|
||||
ayon_settings, output, addon_versions, default_settings
|
||||
):
|
||||
enabled = addon_versions.get("deadline") is not None
|
||||
deadline_settings = default_settings["modules"]["deadline"]
|
||||
deadline_settings["enabled"] = enabled
|
||||
if enabled:
|
||||
ayon_deadline = ayon_settings["deadline"]
|
||||
deadline_settings["deadline_urls"] = {
|
||||
item["name"]: item["value"]
|
||||
for item in ayon_deadline["deadline_urls"]
|
||||
}
|
||||
|
||||
output["modules"]["deadline"] = deadline_settings
|
||||
|
||||
|
||||
def _convert_royalrender_system_settings(
|
||||
ayon_settings, output, addon_versions, default_settings
|
||||
):
|
||||
|
|
@ -99,7 +83,6 @@ def _convert_modules_system(
|
|||
# TODO add all modules
|
||||
# TODO add 'enabled' values
|
||||
for func in (
|
||||
_convert_deadline_system_settings,
|
||||
_convert_royalrender_system_settings,
|
||||
):
|
||||
func(ayon_settings, output, addon_versions, default_settings)
|
||||
|
|
@ -107,6 +90,7 @@ def _convert_modules_system(
|
|||
for key in {
|
||||
"timers_manager",
|
||||
"clockify",
|
||||
"deadline",
|
||||
}:
|
||||
if addon_versions.get(key):
|
||||
output[key] = ayon_settings
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue