mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Template Builder: Add folder types to filter data
This commit is contained in:
parent
2375dda43b
commit
17f5788e43
1 changed files with 6 additions and 1 deletions
|
|
@ -834,12 +834,17 @@ class AbstractTemplateBuilder(ABC):
|
|||
task_type = self.current_task_type
|
||||
folder_path = self.current_folder_path
|
||||
|
||||
build_profiles = self._get_build_profiles()
|
||||
filter_data = {
|
||||
"task_types": task_type,
|
||||
"task_names": task_name,
|
||||
"folder_paths": folder_path
|
||||
}
|
||||
|
||||
folder_entity = self.current_folder_entity
|
||||
if folder_entity:
|
||||
filter_data.update({"folder_types": folder_entity["folderType"]})
|
||||
|
||||
build_profiles = self._get_build_profiles()
|
||||
profile = filter_profiles(
|
||||
build_profiles,
|
||||
filter_data,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue