mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
template name profiles are using AYON settings
This commit is contained in:
parent
7beef914f7
commit
eecabc7c89
2 changed files with 1 additions and 10 deletions
|
|
@ -138,7 +138,7 @@ def get_publish_template_name(
|
||||||
template = None
|
template = None
|
||||||
filter_criteria = {
|
filter_criteria = {
|
||||||
"hosts": host_name,
|
"hosts": host_name,
|
||||||
"families": family,
|
"product_types": family,
|
||||||
"task_names": task_name,
|
"task_names": task_name,
|
||||||
"task_types": task_type,
|
"task_types": task_type,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -456,15 +456,6 @@ def _convert_global_project_settings(ayon_settings, output, default_settings):
|
||||||
ayon_loader_tool["family_filter_profiles"] = (
|
ayon_loader_tool["family_filter_profiles"] = (
|
||||||
product_type_filter_profiles)
|
product_type_filter_profiles)
|
||||||
|
|
||||||
ayon_publish_tool = ayon_tools["publish"]
|
|
||||||
for profile in ayon_publish_tool["hero_template_name_profiles"]:
|
|
||||||
if "product_types" in profile:
|
|
||||||
profile["families"] = profile.pop("product_types")
|
|
||||||
|
|
||||||
for profile in ayon_publish_tool["template_name_profiles"]:
|
|
||||||
if "product_types" in profile:
|
|
||||||
profile["families"] = profile.pop("product_types")
|
|
||||||
|
|
||||||
ayon_core["sync_server"] = (
|
ayon_core["sync_server"] = (
|
||||||
default_settings["global"]["sync_server"]
|
default_settings["global"]["sync_server"]
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue